aboutsummaryrefslogtreecommitdiff
path: root/build2/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-16 16:02:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-16 16:02:06 +0200
commitc76ff457079bf5901a6bb55377c14aeee856a354 (patch)
tree6a7d0c7606370b54fa77369dd101d035aad08918 /build2/context.cxx
parent20677fb264e743b8e5423af31a7d8dc06cf509f6 (diff)
Cleanup variable typing
Diffstat (limited to 'build2/context.cxx')
-rw-r--r--build2/context.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 49edc1c..dc84e63 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -63,19 +63,19 @@ namespace build2
{
auto& v (var_pool);
- v.find ("src_root", dir_path_type);
- v.find ("out_root", dir_path_type);
- v.find ("src_base", dir_path_type);
- v.find ("out_base", dir_path_type);
+ v.find<dir_path> ("src_root");
+ v.find<dir_path> ("out_root");
+ v.find<dir_path> ("src_base");
+ v.find<dir_path> ("out_base");
- v.find ("project", string_type);
- v.find ("amalgamation", dir_path_type);
+ v.find<string> ("project");
+ v.find<dir_path> ("amalgamation");
- // Shouldn't be typed since the value requires pre-processing.
+ // Not typed since the value requires pre-processing.
//
v.find ("subprojects", nullptr, '=');
- v.find ("extension", string_type);
+ v.find<string> ("extension");
}
// Create global scope. For Win32 this is not a "real" root path.