Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Minor sonar smells, and other cosmetics.
[simgrid.git] / examples / cpp / synchro-mutex / s4u-synchro-mutex.cpp
index 9c7d4f6..3176526 100644 (file)
@@ -5,10 +5,10 @@
 
 #include "simgrid/s4u.hpp" /* All of S4U */
 #include "xbt/config.hpp"
-namespace sg4 = simgrid::s4u;
-
 #include <mutex> /* std::mutex and std::lock_guard */
 
+namespace sg4 = simgrid::s4u;
+
 static simgrid::config::Flag<int> cfg_actor_count("actors", "How many pairs of actors should be started?", 6);
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "a sample log category");