aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 91b25bd..f5476b5 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -460,7 +460,7 @@ namespace build2
// bool value
//
bool value_traits<bool>::
- convert (name&& n, name* r)
+ convert (const name& n, const name* r)
{
if (r == nullptr && n.simple ())
{