aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp
index 6a5074665..17d8899e2 100644
--- a/src/init_def.cpp
+++ b/src/init_def.cpp
@@ -51,6 +51,8 @@ void initialize(const std::string& arg_string)
set_global_state(new Library_State(mutex_factory));
+ global_state().set_default_policy();
+
global_state().set_timer(modules.timer());
std::vector<Allocator*> allocators = modules.allocators();