Index: src/DefaultFileSystem.cpp |
=================================================================== |
--- a/src/DefaultFileSystem.cpp |
+++ b/src/DefaultFileSystem.cpp |
@@ -68,17 +68,17 @@ namespace |
std::tr1::shared_ptr<std::istream> |
DefaultFileSystem::Read(const std::string& path) const |
{ |
return std::tr1::shared_ptr<std::istream>(new std::ifstream(NormalizePath(path).c_str())); |
} |
void DefaultFileSystem::Write(const std::string& path, |
- std::tr1::shared_ptr<std::ostream> data) |
+ std::tr1::shared_ptr<std::istream> data) |
{ |
std::ofstream file(NormalizePath(path).c_str()); |
file << Utils::Slurp(*data); |
} |
void DefaultFileSystem::Move(const std::string& fromPath, |
const std::string& toPath) |
{ |