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: fix including of <memory> Created Aug. 7, 2015, 6:07 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 | « src/DefaultFileSystem.cpp ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/DefaultFileSystem.cpp ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld