diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-19 18:47:52 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-19 18:47:52 +0100 |
| commit | ddd70fd09adc0c93205bd1b436daace101d773fc (patch) | |
| tree | 1164df527472908561f95b159c04bdce1f0e21a7 /src/main.cc | |
| parent | f714766854047728a029655bfd7c8af6aea53833 (diff) | |
Make empty context construction more explicit
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cc b/src/main.cc index aa16ae5a..75610ca5 100644 --- a/src/main.cc +++ b/src/main.cc @@ -385,7 +385,7 @@ int run_server(StringView session, StringView init_command, if (not ignore_kakrc) try { - Context initialisation_context; + Context initialisation_context{Context::EmptyContextFlag{}}; command_manager.execute("source " + runtime_directory() + "/kakrc", initialisation_context); } @@ -399,7 +399,7 @@ int run_server(StringView session, StringView init_command, } { - Context empty_context; + Context empty_context{Context::EmptyContextFlag{}}; global_scope.hooks().run_hook("KakBegin", "", empty_context); } @@ -439,7 +439,7 @@ int run_server(StringView session, StringView init_command, } { - Context empty_context; + Context empty_context{Context::EmptyContextFlag{}}; global_scope.hooks().run_hook("KakEnd", "", empty_context); } |
