Index: shell/src/GcCommand.cpp |
diff --git a/shell/src/GcCommand.cpp b/shell/src/GcCommand.cpp |
index 2b38d60be7e83873f3e6f4816e23b2e5f378f8dd..bc1ce1bbe0e3a78c8709b78d1c726f4038ebf6de 100644 |
--- a/shell/src/GcCommand.cpp |
+++ b/shell/src/GcCommand.cpp |
@@ -17,14 +17,14 @@ |
#include "GcCommand.h" |
-GcCommand::GcCommand(AdblockPlus::JsEnginePtr jsEngine) |
+GcCommand::GcCommand(AdblockPlus::JsEngine& jsEngine) |
: Command("gc"), jsEngine(jsEngine) |
{ |
} |
void GcCommand::operator()(const std::string& arguments) |
{ |
- jsEngine->Gc(); |
+ jsEngine.Gc(); |
} |
std::string GcCommand::GetDescription() const |