diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-26 14:12:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-30 13:04:37 +0300 |
commit | d90ac405ae50f84a3cf4ba0b806cca1c89f81cff (patch) | |
tree | 3f66be39a80a0a32cbba332e34b418fa1fc9ad02 /build2/name.hxx | |
parent | e92a1aab0e1c7c9ba8e6ab9a7049207468ca53fc (diff) |
Make project variable to be of project_name type
Diffstat (limited to 'build2/name.hxx')
-rw-r--r-- | build2/name.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/name.hxx b/build2/name.hxx index 54fd130..e688aed 100644 --- a/build2/name.hxx +++ b/build2/name.hxx @@ -33,7 +33,7 @@ namespace build2 // struct name { - optional<string> proj; + optional<project_name> proj; dir_path dir; string type; string value; @@ -48,7 +48,7 @@ namespace build2 name (dir_path d, string t, string v) : dir (move (d)), type (move (t)), value (move (v)) {} - name (optional<string> p, dir_path d, string t, string v) + name (optional<project_name> p, dir_path d, string t, string v) : proj (move (p)), dir (move (d)), type (move (t)), value (move (v)) {} bool |