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

Unified Diff: test/DefaultFileSystem.cpp

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: Created July 11, 2014, 2:24 p.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
Index: test/DefaultFileSystem.cpp
===================================================================
--- a/test/DefaultFileSystem.cpp
+++ b/test/DefaultFileSystem.cpp
@@ -21,17 +21,17 @@
namespace
{
const std::string testPath = "libadblockplus-t\xc3\xa4st-file";
void WriteString(AdblockPlus::FileSystem& fileSystem,
const std::string& content)
{
- std::tr1::shared_ptr<std::stringstream> input(new std::stringstream);
+ std::shared_ptr<std::stringstream> input(new std::stringstream);
*input << content;
fileSystem.Write(testPath, input);
}
}
TEST(DefaultFileSystemTest, WriteReadRemove)
{
AdblockPlus::DefaultFileSystem fileSystem;

Powered by Google App Engine
This is Rietveld