aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/types.ixx
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/types.ixx
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/types.ixx')
-rw-r--r--libbuild2/types.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/types.ixx b/libbuild2/types.ixx
index bf44cff..ee2a605 100644
--- a/libbuild2/types.ixx
+++ b/libbuild2/types.ixx
@@ -10,7 +10,7 @@ namespace build2
{
if (!l.empty ())
{
- o << l.file;
+ build2::operator<< (o, l.file); // Disambiguate.
if (l.line != 0)
{