aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 9009fdc..79d0018 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -483,11 +483,8 @@ namespace build2
// uint64_t value
//
uint64_t value_traits<uint64_t>::
- convert (name&& n, name* r)
+ convert (const name& n, const name* r)
{
- // Note: in some places we reply on this function not
- // changing the passed name.
- //
if (r == nullptr && n.simple ())
{
try