Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move variable defintion out of header file.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 15 Oct 2017 21:06:05 +0000 (23:06 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 15 Oct 2017 21:06:18 +0000 (23:06 +0200)
include/simgrid/jedule/jedule.hpp
src/instr/jedule/jedule_platform.cpp

index 0ea9ab8..eb25b52 100644 (file)
@@ -14,9 +14,6 @@
 
 #if SIMGRID_HAVE_JEDULE
 
-XBT_ATTRIB_UNUSED static std::unordered_map <const char *, jed_container_t> host2_simgrid_parent_container;
-XBT_ATTRIB_UNUSED static std::unordered_map <std::string, jed_container_t> container_name2container;
-
 namespace simgrid {
 namespace jedule{
 
index 877905d..133b1f6 100644 (file)
 
 #if SIMGRID_HAVE_JEDULE
 
+namespace {
+std::unordered_map<const char*, jed_container_t> host2_simgrid_parent_container;
+std::unordered_map<std::string, jed_container_t> container_name2container;
+}
+
 namespace simgrid {
 namespace jedule {
 Subset::Subset(int start_idx, int end_idx, Container* parent)