Index: src/FileSystemJsObject.cpp |
=================================================================== |
--- a/src/FileSystemJsObject.cpp |
+++ b/src/FileSystemJsObject.cpp |
@@ -55,17 +55,17 @@ namespace |
} |
void Run() |
{ |
std::string content; |
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) |
{ |
error = e.what(); |
} |
catch (...) |
{ |
@@ -95,17 +95,17 @@ namespace |
{ |
} |
void Run() |
{ |
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); |
} |
catch (std::exception& e) |
{ |
error = e.what(); |
} |
catch (...) |