| Index: shell/src/Main.cpp |
| diff --git a/shell/src/Main.cpp b/shell/src/Main.cpp |
| index 5e26f625cdfdd674df9773ba2343e97e73c28b0d..16b136313839b2cee1802a850843387acfd15f4c 100644 |
| --- a/shell/src/Main.cpp |
| +++ b/shell/src/Main.cpp |
| @@ -66,15 +66,15 @@ int main() |
| AdblockPlus::Platform platform; |
| platform.SetUpJsEngine(appInfo); |
| AdblockPlus::JsEngine& jsEngine = platform.GetJsEngine(); |
| - auto filterEngine = platform.GetFilterEngine(); |
| + auto& filterEngine = platform.GetFilterEngine(); |
| CommandMap commands; |
| Add(commands, new GcCommand(jsEngine)); |
| Add(commands, new HelpCommand(commands)); |
| - Add(commands, new FiltersCommand(*filterEngine)); |
| - Add(commands, new SubscriptionsCommand(*filterEngine)); |
| - Add(commands, new MatchesCommand(*filterEngine)); |
| - Add(commands, new PrefsCommand(*filterEngine)); |
| + Add(commands, new FiltersCommand(filterEngine)); |
| + Add(commands, new SubscriptionsCommand(filterEngine)); |
| + Add(commands, new MatchesCommand(filterEngine)); |
| + Add(commands, new PrefsCommand(filterEngine)); |
| std::string commandLine; |
| while (ReadCommandLine(commandLine)) |