aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-11 15:05:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-11 15:05:30 +0200
commit60a95915aa1fda93d308158416071ba39286d41c (patch)
tree98abce912c5d28ef65e92ac5ebdeb9a03df5530c /libbuild2/variable.cxx
parent011adfe1efe3ff20dc019e242d56c95b2b35ac13 (diff)
Make value_traits<bool>::convert() non-modifying
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 ())
{