From 62a688e3fd7d1fdb8ce5590ebe9cb99e90cbe5d7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Nov 2019 10:50:41 +0300 Subject: Make use of butl::to_stream(ostream, path, bool) --- libbuild2/target.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbuild2/target.cxx') diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx index e4218ed..23e6c9c 100644 --- a/libbuild2/target.cxx +++ b/libbuild2/target.cxx @@ -506,7 +506,7 @@ namespace build2 if (dv < 1) os << diag_relative (pd); else - os << pd.representation (); + to_stream (os, pd, true /* representation */); } const target_type& tt (*k.type); @@ -535,7 +535,9 @@ namespace build2 assert (!k.ext); } else - os << (rd.empty () ? dir_path (".") : rd.leaf ()).representation (); + to_stream (os, + rd.empty () ? dir_path (".") : rd.leaf (), + true /* representation */); os << '}'; -- cgit v1.1