aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-24 12:03:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-24 12:03:50 +0200
commitaec5f7309b2ee7210dc39de9c792f35273c73c10 (patch)
tree039064cbccb9ef01a5b93ca1659ae05137e61d3f /build2/search.cxx
parent4b507ea962169a8d19e4b37b940448eba97d87a4 (diff)
Differentiate extension printing according to stream verbosity
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index 7c27ca5..2ab3d1f 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -114,7 +114,7 @@ namespace build2
continue;
level5 ([&]{trace << "found existing file " << f << " for prerequisite "
- << pk;});
+ << cpk;});
// Find or insert. Note: using our updated extension.
//
@@ -125,7 +125,7 @@ namespace build2
file& t (dynamic_cast<file&> (r.first));
level5 ([&]{trace << (r.second ? "new" : "existing") << " target "
- << t << " for prerequisite " << pk;});
+ << t << " for prerequisite " << cpk;});
if (t.path ().empty ())
t.path (move (f));
@@ -134,7 +134,7 @@ namespace build2
return &t;
}
- level4 ([&]{trace << "no existing file found for prerequisite " << pk;});
+ level4 ([&]{trace << "no existing file found for prerequisite " << cpk;});
return nullptr;
}