Index: test/DefaultFileSystem.cpp |
=================================================================== |
--- a/test/DefaultFileSystem.cpp |
+++ b/test/DefaultFileSystem.cpp |
@@ -26,7 +26,7 @@ |
void WriteString(AdblockPlus::FileSystem& fileSystem, |
const std::string& content) |
{ |
- std::shared_ptr<std::stringstream> input(new std::stringstream); |
+ auto input(std::make_shared<std::stringstream>()); |
*input << content; |
fileSystem.Write(testPath, input); |
} |