diff options
Diffstat (limited to 'src/build_log_perftest.cc')
-rw-r--r-- | src/build_log_perftest.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/build_log_perftest.cc b/src/build_log_perftest.cc index a09beb8..810c065 100644 --- a/src/build_log_perftest.cc +++ b/src/build_log_perftest.cc @@ -28,10 +28,15 @@ const char kTestFilename[] = "BuildLogPerfTest-tempfile"; +struct NoDeadPaths : public BuildLogUser { + virtual bool IsPathDead(StringPiece) const { return false; } +}; + bool WriteTestData(string* err) { BuildLog log; - if (!log.OpenForWrite(kTestFilename, err)) + NoDeadPaths no_dead_paths; + if (!log.OpenForWrite(kTestFilename, no_dead_paths, err)) return false; /* |