diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-16 14:14:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-16 14:14:15 +0200 |
commit | 530e8914ba00ce0e7ee89ba30d2b88f2c09f43c9 (patch) | |
tree | 0ca06c48d30ae06d8407da34bd02c57140b71062 /build2/target-key.hxx | |
parent | 44e1022f8141bd57756c2be4277c728ca7443eb3 (diff) |
Split stream verbosity into components (path, extension)
Use to make sure structured result output always contains absolute
target path.
Diffstat (limited to 'build2/target-key.hxx')
-rw-r--r-- | build2/target-key.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
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<stream_verbosity> = nullopt); } namespace std |