Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Make simgrid::xbt::action_fs a std::unique_ptr."
[simgrid.git] / include / xbt / replay.hpp
index 94ce2e0..d1596e5 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <fstream>
 #include <functional>
-#include <memory>
 #include <queue>
 #include <unordered_map>
 
@@ -21,7 +20,7 @@ namespace xbt {
 /* To split the file if a unique one is given (specific variable for the other case live in runner()) */
 using ReplayAction = std::vector<std::string>;
 
-XBT_PUBLIC_DATA std::unique_ptr<std::ifstream> action_fs;
+XBT_PUBLIC_DATA std::ifstream* action_fs;
 XBT_PUBLIC int replay_runner(const char* actor_name, const char* trace_filename);
 }
 }