From 60a95915aa1fda93d308158416071ba39286d41c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Nov 2020 15:05:30 +0200 Subject: Make value_traits::convert() non-modifying --- libbuild2/variable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/variable.cxx') 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:: - convert (name&& n, name* r) + convert (const name& n, const name* r) { if (r == nullptr && n.simple ()) { -- cgit v1.1