From: Gabriel Corona Date: Fri, 15 Jan 2016 09:40:41 +0000 (+0100) Subject: [s4u] Removes unused simgrid::s4u::Host::hosts static variable X-Git-Tag: v3_13~1237^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1e383d56c1cfe2e4291180bf5caa771d84f6df02?hp=ed001deda5f5cdf564fa308142d21bf574a090b2 [s4u] Removes unused simgrid::s4u::Host::hosts static variable --- diff --git a/include/simgrid/s4u/host.hpp b/include/simgrid/s4u/host.hpp index 0de509fe02..d5c48344e0 100644 --- a/include/simgrid/s4u/host.hpp +++ b/include/simgrid/s4u/host.hpp @@ -108,8 +108,6 @@ public: surf::NetCard *pimpl_netcard = nullptr; public: - static boost::unordered_map *hosts; - /*** Called on each newly created object */ static simgrid::xbt::signal onCreation; /*** Called just before destructing an object */ diff --git a/src/s4u/s4u_host.cpp b/src/s4u/s4u_host.cpp index 9bab734630..9c7ceba0e1 100644 --- a/src/s4u/s4u_host.cpp +++ b/src/s4u/s4u_host.cpp @@ -31,9 +31,6 @@ int USER_HOST_LEVEL; namespace simgrid { namespace s4u { -boost::unordered_map *Host::hosts - = new boost::unordered_map(); - simgrid::xbt::signal Host::onCreation; simgrid::xbt::signal Host::onDestruction; simgrid::xbt::signal Host::onStateChange;