From 255192ad7c234ae1f6631d080b0d2d9cfc60ec1b Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 29 Mar 2018 21:38:58 +0200 Subject: [PATCH] Move variable definition in cpp file. --- include/xbt/replay.hpp | 1 - src/xbt/xbt_replay.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/replay.hpp b/include/xbt/replay.hpp index a83d442f66..06581483e2 100644 --- a/include/xbt/replay.hpp +++ b/include/xbt/replay.hpp @@ -19,7 +19,6 @@ namespace simgrid { namespace xbt { /* To split the file if a unique one is given (specific variable for the other case live in runner()) */ typedef std::vector ReplayAction; -static std::unordered_map*> action_queues; XBT_PUBLIC_DATA std::ifstream* action_fs; XBT_PUBLIC int replay_runner(int argc, char* argv[]); diff --git a/src/xbt/xbt_replay.cpp b/src/xbt/xbt_replay.cpp index 99fe837d29..a266f7ea02 100644 --- a/src/xbt/xbt_replay.cpp +++ b/src/xbt/xbt_replay.cpp @@ -17,6 +17,7 @@ namespace xbt { std::ifstream* action_fs = nullptr; std::unordered_map action_funs; +static std::unordered_map*> action_queues; static void read_and_trim_line(std::ifstream* fs, std::string* line) { -- 2.20.1