Index: src/JsEngine.cpp |
diff --git a/src/JsEngine.cpp b/src/JsEngine.cpp |
index d1ce0c362c70fa3459421f7f08ef3d2cf327ef5b..8fa65e10b7f93f197cc76fca7b5ac790061ed26c 100644 |
--- a/src/JsEngine.cpp |
+++ b/src/JsEngine.cpp |
@@ -22,6 +22,7 @@ |
#include "Utils.h" |
#include "DefaultTimer.h" |
#include "DefaultWebRequest.h" |
+#include "DefaultFileSystem.h" |
#include <libplatform/libplatform.h> |
namespace |
@@ -81,7 +82,7 @@ TimerPtr AdblockPlus::CreateDefaultTimer() |
FileSystemPtr AdblockPlus::CreateDefaultFileSystem() |
{ |
- return FileSystemPtr(new DefaultFileSystem(std::make_shared<DefaultFileSystemSync>())); |
+ return FileSystemPtr(new DefaultFileSystem(std::unique_ptr<DefaultFileSystemSync>(new DefaultFileSystemSync()))); |
} |
WebRequestPtr AdblockPlus::CreateDefaultWebRequest() |