Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
be consistent in namespaces
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 22 Nov 2017 15:47:41 +0000 (16:47 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 22 Nov 2017 15:47:41 +0000 (16:47 +0100)
src/surf/plugins/host_energy.cpp

index 380a871..a66839f 100644 (file)
@@ -110,7 +110,7 @@ before you can get accurate energy predictions.
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_energy, surf, "Logging specific to the SURF energy plugin");
 
 namespace simgrid {
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_energy, surf, "Logging specific to the SURF energy plugin");
 
 namespace simgrid {
-namespace energy {
+namespace plugin {
 
 class PowerRange {
 public:
 
 class PowerRange {
 public:
@@ -355,7 +355,7 @@ void HostEnergy::initWattsRangeList()
 }
 }
 
 }
 }
 
-using simgrid::energy::HostEnergy;
+using simgrid::plugin::HostEnergy;
 
 /* **************************** events  callback *************************** */
 static void onCreation(simgrid::s4u::Host& host)
 
 /* **************************** events  callback *************************** */
 static void onCreation(simgrid::s4u::Host& host)