aboutsummaryrefslogtreecommitdiff
path: root/build/name
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
commitace1743f7f78bb13f99553d6e97ad1beecf1ba99 (patch)
tree595bc9dad989e44f4be9a67e351219f3248dc5f0 /build/name
parent534f9d8db025d58c9ce23f3b81a37e8c34386a27 (diff)
Add separate type to represent directory paths
Diffstat (limited to 'build/name')
-rw-r--r--build/name8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/name b/build/name
index cf7427b..b0fd6cb 100644
--- a/build/name
+++ b/build/name
@@ -28,9 +28,9 @@ namespace build
name (std::string v): value (std::move (v)) {}
explicit
- name (path d): dir (std::move (d)) {}
+ name (dir_path d): dir (std::move (d)) {}
- name (std::string t, path d, std::string v)
+ name (std::string t, dir_path d, std::string v)
: type (std::move (t)), dir (std::move (d)), value (std::move (v)) {}
bool
@@ -44,9 +44,9 @@ namespace build
{return type.empty () && !dir.empty () && value.empty ();}
std::string type;
- path dir;
+ dir_path dir;
std::string value;
- bool pair {false};
+ bool pair {false}; // Store pair symbol for printing?
};
inline bool