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/name.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/name.cxx') 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 << '%'; } -- cgit v1.1