diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-20 17:18:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-20 17:18:09 +0200 |
commit | b0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (patch) | |
tree | 4b1efc586782507e0647e884d6a13c6605298508 /build/target.cxx | |
parent | 47751abc43dab40e0ac4a1523994fd533e6a3b22 (diff) |
Diagnostic infrastructure revamp
Diffstat (limited to 'build/target.cxx')
-rw-r--r-- | build/target.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/target.cxx b/build/target.cxx index b20f53b..3852bc4 100644 --- a/build/target.cxx +++ b/build/target.cxx @@ -43,7 +43,7 @@ namespace build path dir, std::string name, const std::string* ext, - tracer& tr) -> pair<target&, bool> + tracer& trace) -> pair<target&, bool> { //@@ OPT: would be nice to somehow first check if this target is // already in the set before allocating a new instance. @@ -60,8 +60,8 @@ namespace build // if (t.ext != ext) { - trace (4, [&]{ - tracer::record r (tr); + level4 ([&]{ + diag_record r (trace); r << "assuming target " << t << " is the same as the one with "; if (ext == nullptr) r << "unspecified extension"; |