aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-26 14:12:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-30 13:04:37 +0300
commitd90ac405ae50f84a3cf4ba0b806cca1c89f81cff (patch)
tree3f66be39a80a0a32cbba332e34b418fa1fc9ad02 /build2/parser.hxx
parente92a1aab0e1c7c9ba8e6ab9a7049207468ca53fc (diff)
Make project variable to be of project_name type
Diffstat (limited to 'build2/parser.hxx')
-rw-r--r--build2/parser.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/parser.hxx b/build2/parser.hxx
index edb2f84..acd0845 100644
--- a/build2/parser.hxx
+++ b/build2/parser.hxx
@@ -307,7 +307,7 @@ namespace build2
const char* what = "name",
const string* separators = &name_separators,
size_t pairn = 0,
- const optional<string>& prj = nullopt,
+ const optional<project_name>& prj = nullopt,
const dir_path* dir = nullptr,
const string* type = nullptr,
bool cross = true);
@@ -319,7 +319,7 @@ namespace build2
const char* what,
const string* separators,
size_t pairn,
- const optional<string>& prj,
+ const optional<project_name>& prj,
const dir_path* dir,
const string* type,
bool cross);
@@ -341,7 +341,7 @@ namespace build2
names&,
const char* what,
size_t pairn,
- const optional<string>& prj,
+ const optional<project_name>& prj,
const dir_path* dir,
const string* type);