aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r--libbuild2/file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index f755506..fcd3c7c 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -2335,7 +2335,7 @@ namespace build2
//
const path* p (nullptr);
- string valv (sanitize_identifier (string (tgt.value)));
+ string valv (sanitize_identifier (tgt.value));
if (tgt.typed ())
{
@@ -2350,7 +2350,7 @@ namespace build2
if (p == nullptr)
{
- string ttv (sanitize_identifier (string (tgt.type)));
+ string ttv (sanitize_identifier (tgt.type));
p = lookup (vp.insert (n + '.' + valv + '.' + ttv), e);
}
}