Index: test/UpdateCheck.cpp |
diff --git a/test/UpdateCheck.cpp b/test/UpdateCheck.cpp |
index 41983c2848433a9b7b423597fd04104b5a99b8ec..7d5fe13b3301f724c4325938955475c4f970e3d7 100644 |
--- a/test/UpdateCheck.cpp |
+++ b/test/UpdateCheck.cpp |
@@ -77,7 +77,7 @@ namespace |
jsEngine->SetEventCallback("updateAvailable", |
std::bind(&UpdateCheckTest::EventCallback, this, std::placeholders::_1)); |
- filterEngine.reset(new AdblockPlus::FilterEngine(jsEngine)); |
+ filterEngine = AdblockPlus::FilterEngine::Create(jsEngine); |
} |
void ForceUpdateCheck() |