| Index: test/FileSystemJsObject.cpp |
| =================================================================== |
| --- a/test/FileSystemJsObject.cpp |
| +++ b/test/FileSystemJsObject.cpp |
| @@ -45,17 +45,17 @@ namespace |
| { |
| if (!success) |
| throw std::runtime_error("Unable to read " + path); |
| std::stringstream* const stream = new std::stringstream; |
| *stream << contentToRead; |
| return std::tr1::shared_ptr<std::istream>(stream); |
| } |
| - void Write(const std::string& path, std::tr1::shared_ptr<std::ostream> data) |
| + void Write(const std::string& path, std::tr1::shared_ptr<std::istream> data) |
| { |
| if (!success) |
| throw std::runtime_error("Unable to write to " + path); |
| lastWrittenPath = path; |
| std::stringstream content; |
| content << data->rdbuf(); |
| lastWrittenContent = content.str(); |