aboutsummaryrefslogtreecommitdiff
path: root/build/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 09:51:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:52:43 +0200
commit68f96f9213e849d0d7c4cedf3edeaec99743ee27 (patch)
tree271913d74c906971cac555319f5e14d0c66e0c16 /build/operation.cxx
parent0d5234f4aefd3cc5b5948cc1b9dd009e50046f5e (diff)
New variable architecture
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.
//