aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dist/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/dist/operation.cxx')
-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);