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

Unified Diff: src/FileSystemJsObject.cpp

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: rebase Created Aug. 5, 2015, 10:38 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
Index: src/FileSystemJsObject.cpp
diff --git a/src/FileSystemJsObject.cpp b/src/FileSystemJsObject.cpp
index 6547f0a9a9c17b38c7b2377a12531772f87301f4..80a9b997c627bfdaaf65e40b6d9cbd0f30a40a04 100644
--- a/src/FileSystemJsObject.cpp
+++ b/src/FileSystemJsObject.cpp
@@ -60,7 +60,7 @@ namespace
std::string error;
try
{
- std::tr1::shared_ptr<std::istream> stream = fileSystem->Read(path);
+ std::shared_ptr<std::istream> stream = fileSystem->Read(path);
content = Utils::Slurp(*stream);
}
catch (std::exception& e)
@@ -100,7 +100,7 @@ namespace
std::string error;
try
{
- std::tr1::shared_ptr<std::iostream> stream(new std::stringstream);
+ std::shared_ptr<std::iostream> stream(new std::stringstream);
*stream << content;
fileSystem->Write(path, stream);
}

Powered by Google App Engine
This is Rietveld