From d90ac405ae50f84a3cf4ba0b806cca1c89f81cff Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 26 Jul 2018 14:12:56 +0300 Subject: Make project variable to be of project_name type --- build2/context.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/context.hxx') diff --git a/build2/context.hxx b/build2/context.hxx index cfe770f..cf7eee6 100644 --- a/build2/context.hxx +++ b/build2/context.hxx @@ -408,11 +408,11 @@ namespace build2 // Return the project name or empty string if unnamed. // - inline const string& + inline const project_name& project (const scope& root) { auto l (root[var_project]); - return l ? cast (l) : empty_string; + return l ? cast (l) : empty_project_name; } // Return the src/out directory corresponding to the given out/src. The -- cgit v1.1