Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/BaseJsTest.cpp

Issue 29535572: Issue 5183 - make FileSystemPtr std::unique_ptr (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Sept. 4, 2017, 9:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/AdblockPlus/IFileSystem.h ('k') | test/FileSystemJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/BaseJsTest.cpp
diff --git a/test/BaseJsTest.cpp b/test/BaseJsTest.cpp
index 3fbdaa7d6c77d4f2601de8f273f15353433eb1f3..052847f989ccd151953ca4827ab0c74aa18a139d 100644
--- a/test/BaseJsTest.cpp
+++ b/test/BaseJsTest.cpp
@@ -62,6 +62,6 @@ ThrowingPlatformCreationParameters::ThrowingPlatformCreationParameters()
{
logSystem.reset(new ThrowingLogSystem());
timer.reset(new ThrowingTimer());
- fileSystem = std::make_shared<ThrowingFileSystem>();
+ fileSystem.reset(new ThrowingFileSystem());
webRequest.reset(new ThrowingWebRequest());
}
« no previous file with comments | « include/AdblockPlus/IFileSystem.h ('k') | test/FileSystemJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld