aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-14 10:50:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-14 10:50:41 +0300
commit62a688e3fd7d1fdb8ce5590ebe9cb99e90cbe5d7 (patch)
tree7c134dfb04815fb41c22d150fe1e481916536888 /libbuild2/scope.hxx
parentc03fc4a34ad47f5951633f1e9602b250c53c1927 (diff)
Make use of butl::to_stream(ostream, path, bool)
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index cd8fcb2..2ed8f18 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -412,7 +412,9 @@ namespace build2
inline ostream&
operator<< (ostream& os, const scope& s)
{
- return os << s.out_path ().representation (); // Always absolute.
+ // Always absolute.
+ //
+ return to_stream (os, s.out_path (), true /* representation */);
}
// Return the src/out directory corresponding to the given out/src. The