Index: test/Notification.cpp |
diff --git a/test/Notification.cpp b/test/Notification.cpp |
index 0baa2089c5742bb9d1b01898c1742eaf9d3eeb9a..c714fb24a91b64bb9406db9141afb40dbc10a0f0 100644 |
--- a/test/Notification.cpp |
+++ b/test/Notification.cpp |
@@ -37,7 +37,7 @@ namespace |
jsEngine->SetFileSystem(FileSystemPtr(new LazyFileSystem())); |
jsEngine->SetWebRequest(WebRequestPtr(new LazyWebRequest())); |
jsEngine->SetLogSystem(LogSystemPtr(new DefaultLogSystem())); |
- filterEngine.reset(new FilterEngine(jsEngine)); |
+ filterEngine = FilterEngine::Create(jsEngine); |
} |
void AddNotification(const std::string& notification) |