aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-09 13:07:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-09 13:07:05 +0200
commit1a55c0d6ec9b1cd9f78de82ed068224cac4e6cb2 (patch)
treed7d9cd6da1e94755dd522556becf3155b292ea5d /libbuild2/install
parentf59065dd443f43b8e99931c001e03283c20e9c63 (diff)
Minor simplification
Diffstat (limited to 'libbuild2/install')
-rw-r--r--libbuild2/install/utility.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/install/utility.hxx b/libbuild2/install/utility.hxx
index ee78e17..2c0ca56 100644
--- a/libbuild2/install/utility.hxx
+++ b/libbuild2/install/utility.hxx
@@ -28,7 +28,7 @@ namespace build2
*s.var_pool ().find ("install")));
if (r.second) // Already set by the user?
- r.first.get () = path_cast<path> (move (d));
+ r.first = path_cast<path> (move (d));
}
template <typename T>
@@ -46,7 +46,7 @@ namespace build2
*s.var_pool ().find ("install.mode")));
if (r.second) // Already set by the user?
- r.first.get () = move (m);
+ r.first = move (m);
}
template <typename T>