Reorder managers creation in main

This commit is contained in:
Maxime Coste 2012-06-14 13:20:40 +00:00
parent f7ee2801e9
commit dc91f344f7

View File

@ -419,14 +419,14 @@ void run_unit_tests();
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
GlobalOptionManager option_manager;
GlobalHookManager hook_manager;
ShellManager shell_manager; ShellManager shell_manager;
CommandManager command_manager; CommandManager command_manager;
BufferManager buffer_manager; BufferManager buffer_manager;
RegisterManager register_manager; RegisterManager register_manager;
HighlighterRegistry highlighter_registry; HighlighterRegistry highlighter_registry;
FilterRegistry filter_registry; FilterRegistry filter_registry;
GlobalHookManager hook_manager;
GlobalOptionManager option_manager;
run_unit_tests(); run_unit_tests();