Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build of dvfs plugin with warning enabled
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Feb 2018 20:36:13 +0000 (21:36 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Feb 2018 20:36:13 +0000 (21:36 +0100)
src/surf/plugins/host_dvfs.cpp

index 1863fc7..ce8e17a 100644 (file)
@@ -141,16 +141,11 @@ public:
 
   explicit HostDvfs(simgrid::s4u::Host* ptr);
   ~HostDvfs();
-
-private:
-  simgrid::s4u::Host* host = nullptr;
 };
 
 simgrid::xbt::Extension<simgrid::s4u::Host, HostDvfs> HostDvfs::EXTENSION_ID;
 
-HostDvfs::HostDvfs(simgrid::s4u::Host* ptr) : host(ptr)
-{
-}
+HostDvfs::HostDvfs(simgrid::s4u::Host* ptr) {}
 
 HostDvfs::~HostDvfs() = default;
 }