From 530e8914ba00ce0e7ee89ba30d2b88f2c09f43c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 16 Dec 2017 14:14:15 +0200 Subject: Split stream verbosity into components (path, extension) Use to make sure structured result output always contains absolute target path. --- build2/target-key.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build2/target-key.hxx') diff --git a/build2/target-key.hxx b/build2/target-key.hxx index f37713e..d9ae57c 100644 --- a/build2/target-key.hxx +++ b/build2/target-key.hxx @@ -72,14 +72,13 @@ namespace build2 operator!= (const target_key& x, const target_key& y) {return !(x == y);} // If the target type has a custom print function, call that. Otherwise, - // call to_stream() with the current stream verbosity as a third argument. - // Both are defined in target.cxx. + // call to_stream(). Both are defined in target.cxx. // ostream& operator<< (ostream&, const target_key&); ostream& - to_stream (ostream&, const target_key&, uint16_t ext_verb); + to_stream (ostream&, const target_key&, optional = nullopt); } namespace std -- cgit v1.1