From dc91f344f7997d195d0042cd58208e0e282c2c83 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 14 Jun 2012 13:20:40 +0000 Subject: [PATCH] Reorder managers creation in main --- src/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cc b/src/main.cc index 27ca0cd1..36d45699 100644 --- a/src/main.cc +++ b/src/main.cc @@ -419,14 +419,14 @@ void run_unit_tests(); int main(int argc, char* argv[]) { + GlobalOptionManager option_manager; + GlobalHookManager hook_manager; ShellManager shell_manager; CommandManager command_manager; BufferManager buffer_manager; RegisterManager register_manager; HighlighterRegistry highlighter_registry; FilterRegistry filter_registry; - GlobalHookManager hook_manager; - GlobalOptionManager option_manager; run_unit_tests();