aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-03 15:52:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-03 16:21:53 +0300
commit7afc8fe90ea5b894c6ef63c62012988e07f8bf42 (patch)
tree9286dddca98435cfad35d47edd0f6efdea9a94ee /build2/variable.hxx
parentd37709e5c27b1fe7b98de57247449c6272c79580 (diff)
Fix `print $subprojects` failure
This print directive was failing with the message like "error: invalid project_name element key 'tests/'".
Diffstat (limited to 'build2/variable.hxx')
-rw-r--r--build2/variable.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/variable.hxx b/build2/variable.hxx
index 01e7038..782cc2b 100644
--- a/build2/variable.hxx
+++ b/build2/variable.hxx
@@ -916,7 +916,7 @@ namespace build2
static project_name convert (name&&, name*);
static void assign (value&, project_name&&);
- static name reverse (const project_name& x) {return name (x.string ());}
+ static name reverse (const project_name&);
static int compare (const project_name& x, const project_name& y) {
return x.compare (y);}
static bool empty (const project_name& x) {return x.empty ();}