aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dist
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-15 13:27:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-15 21:18:42 +0300
commit460eb164f0051cf0ffab6860220649c4f03c74fb (patch)
tree517455df26047c70429679c7bed790098cb39c4e /libbuild2/dist
parent678345c5a96f14d05a56bce8a68bdd45dfe1d172 (diff)
Use path_name_view in location and path_name_value in location_value
Diffstat (limited to 'libbuild2/dist')
-rw-r--r--libbuild2/dist/operation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx
index eb7cce1..12ae464 100644
--- a/libbuild2/dist/operation.cxx
+++ b/libbuild2/dist/operation.cxx
@@ -144,7 +144,8 @@ namespace build2
// since the meta operation is dist and we know what we are doing.
//
values params;
- const location loc (path_name ("<dist>")); // Dummy location.
+ path_name pn ("<dist>");
+ const location loc (pn); // Dummy location.
const operations& ops (rs->root_extra->operations);