summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index c4f78ab..2ed897a 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -96,6 +96,8 @@ int GuessParallelism() {
}
}
+/// An implementation of ManifestParser::FileReader that actually reads
+/// the file.
struct RealFileReader : public ManifestParser::FileReader {
bool ReadFile(const string& path, string* content, string* err) {
return ::ReadFile(path, content, err) == 0;