aboutsummaryrefslogtreecommitdiff
path: root/build/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/operation.cxx')
-rw-r--r--build/operation.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/operation.cxx b/build/operation.cxx
index 607658f..a92c912 100644
--- a/build/operation.cxx
+++ b/build/operation.cxx
@@ -67,8 +67,7 @@ namespace build
scope& base (scopes[out_base]);
base.assign ("out_base") = out_base;
- auto v (base.assign ("src_base") = src_base);
- base.src_path_ = &v.as<const dir_path&> ();
+ base.src_path_ = &as<dir_path> (base.assign ("src_base") = src_base);
// Load the buildfile unless it has already been loaded.
//