From 1cf1603cae3064aff734f52d23c06098e81a8111 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Jul 2015 15:01:10 +0200 Subject: Install module genesis --- build/variable | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'build/variable') diff --git a/build/variable b/build/variable index 368b2f8..809e7d2 100644 --- a/build/variable +++ b/build/variable @@ -166,20 +166,20 @@ namespace build // template bool - belongs (const T& x) const {return map == &x.vars;} + belongs (const T& x) const {return vars == &x.vars;} // Implementation details. // - const variable_map* map; // Variable map to which this value belongs. + const variable_map* vars; // Variable map to which this value belongs. - value_proxy (): map (nullptr), p (nullptr) {} - value_proxy (value_ptr* p, const variable_map* m): map (m), p (p) {} + value_proxy (): vars (nullptr), p (nullptr) {} + value_proxy (value_ptr* p, const variable_map* v): vars (v), p (p) {} template - value_proxy (value_ptr& p, const T& x): map (&x.vars), p (&p) {} + value_proxy (value_ptr& p, const T& x): vars (&x.vars), p (&p) {} void - rebind (const value_proxy& x) {map = x.map; p = x.p;} + rebind (const value_proxy& x) {vars = x.vars; p = x.p;} private: value_ptr* p; -- cgit v1.1