diff options
Diffstat (limited to 'build/variable')
-rw-r--r-- | build/variable | 12 |
1 files changed, 6 insertions, 6 deletions
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 <typename T> 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 <typename T> - 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; |