diff options
author | Brad King <brad.king@kitware.com> | 2016-02-02 14:34:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-02-02 14:34:53 (GMT) |
commit | 94086e990cac21451a98d949afec0b705b1c4d88 (patch) | |
tree | 3e5aeb823dd3a389e97b3abf6f65c3358bf9061f | |
parent | 35e950d4c2d97d21ef7adf27cf6d003827e908ed (diff) | |
download | Ninja-94086e990cac21451a98d949afec0b705b1c4d88.zip Ninja-94086e990cac21451a98d949afec0b705b1c4d88.tar.gz Ninja-94086e990cac21451a98d949afec0b705b1c4d88.tar.bz2 |
perftest: fix compilation after dupe_edge_should_err change
Fix some ManifestParser constructor calls missed by commit 56bab441b7
(dupe_edge_should_err from bool to enum, 2016-01-27).
-rw-r--r-- | src/build_log_perftest.cc | 2 | ||||
-rw-r--r-- | src/manifest_parser_perftest.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log_perftest.cc b/src/build_log_perftest.cc index 810c065..185c512 100644 --- a/src/build_log_perftest.cc +++ b/src/build_log_perftest.cc @@ -71,7 +71,7 @@ bool WriteTestData(string* err) { long_rule_command += "$in -o $out\n"; State state; - ManifestParser parser(&state, NULL); + ManifestParser parser(&state, NULL, kDupeEdgeActionWarn); if (!parser.ParseTest("rule cxx\n command = " + long_rule_command, err)) return false; diff --git a/src/manifest_parser_perftest.cc b/src/manifest_parser_perftest.cc index 6b56ab0..ef3b663 100644 --- a/src/manifest_parser_perftest.cc +++ b/src/manifest_parser_perftest.cc @@ -61,7 +61,7 @@ int LoadManifests(bool measure_command_evaluation) { string err; RealFileReader file_reader; State state; - ManifestParser parser(&state, &file_reader); + ManifestParser parser(&state, &file_reader, kDupeEdgeActionWarn); if (!parser.Load("build.ninja", &err)) { fprintf(stderr, "Failed to read test data: %s\n", err.c_str()); exit(1); |