aboutsummaryrefslogtreecommitdiff
path: root/build/prerequisite
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/prerequisite
parent534f9d8db025d58c9ce23f3b81a37e8c34386a27 (diff)
Add separate type to represent directory paths
Diffstat (limited to 'build/prerequisite')
-rw-r--r--build/prerequisite6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/prerequisite b/build/prerequisite
index d57f811..77e04c2 100644
--- a/build/prerequisite
+++ b/build/prerequisite
@@ -29,7 +29,7 @@ namespace build
typedef build::scope scope_type;
prerequisite (const target_type_type& t,
- path d,
+ dir_path d,
std::string n,
const std::string* e,
scope_type& s)
@@ -38,7 +38,7 @@ namespace build
public:
const target_type_type& type;
- const path dir; // Normalized absolute or relative (to scope).
+ const dir_path dir; // Normalized absolute or relative (to scope).
const std::string name;
const std::string* ext; // NULL if unspecified.
scope_type& scope;
@@ -55,7 +55,7 @@ namespace build
{
std::pair<prerequisite&, bool>
insert (const target_type&,
- path dir,
+ dir_path dir,
std::string name,
const std::string* ext,
scope&,