aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-02-02 08:59:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-02-02 09:19:19 +0200
commitd930b5205e277b522c2a7fe4a7c0e08c5a8afee1 (patch)
tree76d76d3ab31a1801e7992ba61cce1a0218cc672e /libbuild2/utility.cxx
parent793e39564b25acc6283d1fd5a842c9799f1efdbe (diff)
Redo diagnostics without operator<< in namespace std
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r--libbuild2/utility.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx
index f7f3d41..3f89def 100644
--- a/libbuild2/utility.cxx
+++ b/libbuild2/utility.cxx
@@ -19,7 +19,6 @@
using namespace std;
using namespace butl;
-//
// <libbuild2/types.hxx>
//
namespace build2
@@ -31,10 +30,7 @@ namespace build2
{
return os << run_phase_[static_cast<uint8_t> (p)];
}
-}
-namespace std
-{
ostream&
operator<< (ostream& os, const ::butl::path& p)
{
@@ -76,11 +72,10 @@ namespace std
}
}
+// <libbuild2/utility.hxx>
+//
namespace build2
{
- //
- // <libbuild2/utility.hxx>
- //
void (*terminate) (bool);
process_path argv0;