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/utility.cxx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index 07cf88e..2d8e59b 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -254,13 +254,15 @@ namespace build2 fail (loc) << "unable to execute " << args[0] << ": " << e << endf; } - const string empty_string; - const path empty_path; - const dir_path empty_dir_path; - - const optional nullopt_string; - const optional nullopt_path; - const optional nullopt_dir_path; + const string empty_string; + const path empty_path; + const dir_path empty_dir_path; + const project_name empty_project_name; + + const optional nullopt_string; + const optional nullopt_path; + const optional nullopt_dir_path; + const optional nullopt_project_name; void append_options (cstrings& args, const lookup& l, const char* e) -- cgit v1.1