aboutsummaryrefslogtreecommitdiff
path: root/build2/name.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-16 12:00:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-16 12:00:53 +0200
commit44e1022f8141bd57756c2be4277c728ca7443eb3 (patch)
tree4b3d7e4be8c79d00acc52aec7f1cf64d184f9f73 /build2/name.hxx
parent497353a7eeec26d35741afd45b7cd759105f0246 (diff)
Redo string/stream representation of dir{} name/target
Now instead of: dir{foo/bar/} We get: foo/dir{bar/} Which feels more consistent with how we print other names/targets. That is, "directory bar/ in directory foo/" similar how foo/exe{bar} is "executable bar in directory foo/".
Diffstat (limited to 'build2/name.hxx')
-rw-r--r--build2/name.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/name.hxx b/build2/name.hxx
index 20a8aa0..aac0ad1 100644
--- a/build2/name.hxx
+++ b/build2/name.hxx
@@ -43,6 +43,7 @@ namespace build2
name (string v): value (move (v)) {}
name (dir_path d): dir (move (d)) {}
name (string t, string v): type (move (t)), value (move (v)) {}
+ name (dir_path d, string v): dir (move (d)), value (move (v)) {}
name (dir_path d, string t, string v)
: dir (move (d)), type (move (t)), value (move (v)) {}