From 1e383d56c1cfe2e4291180bf5caa771d84f6df02 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Fri, 15 Jan 2016 10:40:41 +0100 Subject: [PATCH] [s4u] Removes unused simgrid::s4u::Host::hosts static variable --- include/simgrid/s4u/host.hpp | 2 -- src/s4u/s4u_host.cpp | 3 --- 2 files changed, 5 deletions(-) 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; -- 2.20.1