aboutsummaryrefslogtreecommitdiff
path: root/build2/name.cxx
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/name.cxx
parente92a1aab0e1c7c9ba8e6ab9a7049207468ca53fc (diff)
Make project variable to be of project_name type
Diffstat (limited to 'build2/name.cxx')
-rw-r--r--build2/name.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/name.cxx b/build2/name.cxx
index 9fc661b..d1f9ce6 100644
--- a/build2/name.cxx
+++ b/build2/name.cxx
@@ -25,7 +25,7 @@ namespace build2
if (n.proj)
{
- r += *n.proj;
+ r += n.proj->string ();
r += '%';
}
@@ -119,7 +119,7 @@ namespace build2
if (n.proj)
{
- write_string (*n.proj);
+ write_string (n.proj->string ());
os << '%';
}