Index: test/Prefs.cpp |
=================================================================== |
--- a/test/Prefs.cpp |
+++ b/test/Prefs.cpp |
@@ -34,17 +34,17 @@ |
std::shared_ptr<std::istream> Read(const std::string& path) const |
{ |
if (path == "prefs.json" && !prefsContents.empty()) |
return std::shared_ptr<std::istream>(new std::istringstream(prefsContents)); |
return LazyFileSystem::Read(path); |
} |
- void Write(const std::string& path, std::istream& content) |
+ void Write(const std::string& path, std::ostream& content) |
{ |
if (path == "prefs.json") |
{ |
std::stringstream ss; |
ss << content.rdbuf(); |
prefsContents = ss.str(); |
} |
else |