diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-10-23 09:49:06 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-10-23 09:49:06 +0100 |
| commit | 1ba37bacd8cda9c24d074887e2c10a8881f9c861 (patch) | |
| tree | 4d791f66a862b8d8974a8e5982a3f880d2f5f657 /src/command_manager.hh | |
| parent | da7fc3311fba98bde4fbc3457fdbf2503fd2b4d0 (diff) | |
Fix optimized linkage
Diffstat (limited to 'src/command_manager.hh')
| -rw-r--r-- | src/command_manager.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh index f2d49761..2251e8b7 100644 --- a/src/command_manager.hh +++ b/src/command_manager.hh @@ -65,7 +65,7 @@ class CommandManager : public Singleton<CommandManager> { public: void execute(StringView command_line, Context& context, - const ShellContext& shell_context = {}); + const ShellContext& shell_context = ShellContext{}); Completions complete(const Context& context, CompletionFlags flags, StringView command_line, ByteCount cursor_pos); @@ -109,7 +109,7 @@ private: }; String expand(StringView str, const Context& context, - const ShellContext& shell_context = {}); + const ShellContext& shell_context = ShellContext{}); } |
