diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
commit | 6417a4e6af2b7732ec0da6af24f1a56f7cdada3f (patch) | |
tree | 58ffae7ef0cdac55acd6d498dfc66ce0967f4e9a /build2/install | |
parent | 31bd69c56bc29ec1c154a7c0623b6f0ccce78af1 (diff) |
Set part of variable override implementation
Diffstat (limited to 'build2/install')
-rw-r--r-- | build2/install/module.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build2/install/module.cxx b/build2/install/module.cxx index 0c17c05..7838a65 100644 --- a/build2/install/module.cxx +++ b/build2/install/module.cxx @@ -50,7 +50,7 @@ namespace build2 vn = "config.install."; vn += name; vn += var; - const variable& vr (var_pool.find<T> (move (vn))); + const variable& vr (var_pool.insert<T> (move (vn))); // @@ OVR cv = dv != nullptr ? &config::required (r, vr, *dv, override).first.get () @@ -60,7 +60,7 @@ namespace build2 vn = "install."; vn += name; vn += var; - const variable& vr (var_pool.find<T> (move (vn))); + const variable& vr (var_pool.insert<T> (move (vn))); // @@ OVR value& v (r.assign (vr)); @@ -139,7 +139,9 @@ namespace build2 { auto& v (var_pool); - v.find<dir_path> ("install"); + // @@ OVR + // + v.insert<dir_path> ("install"); } // Register our alias and file installer rule. |