Index: src/FileSystemJsObject.cpp |
=================================================================== |
--- a/src/FileSystemJsObject.cpp |
+++ b/src/FileSystemJsObject.cpp |
@@ -95,17 +95,17 @@ namespace |
{ |
} |
void Run() |
{ |
std::string error; |
try |
{ |
- std::tr1::shared_ptr<std::ostream> stream(new std::stringstream); |
+ std::tr1::shared_ptr<std::iostream> stream(new std::stringstream); |
*stream << content; |
fileSystem->Write(path, stream); |
} |
catch (std::exception& e) |
{ |
error = e.what(); |
} |
catch (...) |