aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-08 09:25:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-08 09:25:48 +0200
commite7fa710dd90999702755141c4e704c2d609f9a07 (patch)
tree8730e7aa0bce02bb18ecc2f4e2687818bb9d75c0 /libbuild2/utility.cxx
parentb55e0afbfa0183d570d8a05cf93bfdaddcccf113 (diff)
Disambiguate operator<<(ostream,path_name_view) call
This helps, for example, in bpkg where we "see" two version of this operator.
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r--libbuild2/utility.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx
index 5a58287..909db07 100644
--- a/libbuild2/utility.cxx
+++ b/libbuild2/utility.cxx
@@ -42,7 +42,7 @@ namespace build2
}
ostream&
- operator<< (ostream& os, const ::butl::path& p)
+ operator<< (ostream& os, const path& p)
{
using namespace build2;
@@ -53,7 +53,7 @@ namespace build2
}
ostream&
- operator<< (ostream& os, const ::butl::path_name_view& v)
+ operator<< (ostream& os, const path_name_view& v)
{
assert (!v.empty ());
@@ -61,7 +61,7 @@ namespace build2
}
ostream&
- operator<< (ostream& os, const ::butl::process_path& p)
+ operator<< (ostream& os, const process_path& p)
{
using namespace build2;