summaryrefslogtreecommitdiffstats
path: root/src/test.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-02-03 20:57:10 (GMT)
committerNico Weber <nicolasweber@gmx.de>2016-02-03 20:57:10 (GMT)
commit27c87c5efdb5c5243550a9261c122a1e9d7d0c75 (patch)
tree723fcb3a1eb5d8399b4490ccdd04a096aebd9da9 /src/test.h
parent7d8f9ef43e261724be256ae69b1642b6729f776a (diff)
parente74cefa6c606d69ddfd6bc9b055ef0c697c4f29a (diff)
downloadNinja-27c87c5efdb5c5243550a9261c122a1e9d7d0c75.zip
Ninja-27c87c5efdb5c5243550a9261c122a1e9d7d0c75.tar.gz
Ninja-27c87c5efdb5c5243550a9261c122a1e9d7d0c75.tar.bz2
Merge pull request #1060 from bradking/deduplicate-disk-interface
Deduplicate disk abstraction infrastructure
Diffstat (limited to 'src/test.h')
-rw-r--r--src/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.h b/src/test.h
index 156e68a..488c243 100644
--- a/src/test.h
+++ b/src/test.h
@@ -145,7 +145,7 @@ struct VirtualFileSystem : public DiskInterface {
virtual TimeStamp Stat(const string& path, string* err) const;
virtual bool WriteFile(const string& path, const string& contents);
virtual bool MakeDir(const string& path);
- virtual string ReadFile(const string& path, string* err);
+ virtual Status ReadFile(const string& path, string* contents, string* err);
virtual int RemoveFile(const string& path);
/// An entry for a single in-memory file.