| Index: test/FileSystemJsObject.cpp | 
| =================================================================== | 
| --- a/test/FileSystemJsObject.cpp | 
| +++ b/test/FileSystemJsObject.cpp | 
| @@ -45,17 +45,17 @@ | 
| { | 
| if (!success) | 
| throw std::runtime_error("Unable to read " + path); | 
| std::stringstream* const stream = new std::stringstream; | 
| *stream << contentToRead; | 
| return std::shared_ptr<std::istream>(stream); | 
| } | 
|  | 
| -    void Write(const std::string& path, std::shared_ptr<std::istream> data) | 
| +    void Write(const std::string& path, const std::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(); | 
|  |