Index: test/Notification.cpp |
diff --git a/test/Notification.cpp b/test/Notification.cpp |
index d8eae7ad8c86a57aded7f380c028de2806379db6..8fa1facf5638ecb663a51506a17bd7c2f022b878 100644 |
--- a/test/Notification.cpp |
+++ b/test/Notification.cpp |
@@ -35,7 +35,7 @@ namespace |
{ |
BaseJsTest::SetUp(); |
jsEngine->SetFileSystem(FileSystemPtr(new LazyFileSystem())); |
- jsEngine->SetWebRequest(WebRequestPtr(new LazyWebRequest())); |
+ jsEngine->SetWebRequest(std::make_shared<LazyWebRequest>()); |
jsEngine->SetLogSystem(LogSystemPtr(new DefaultLogSystem())); |
filterEngine = FilterEngine::Create(jsEngine); |
} |