From 3ce44330cca9dbc4314feebb27403ebc3175b6c2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2016 09:14:31 +0200 Subject: New variable architecture --- build2/module.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'build2/module.cxx') diff --git a/build2/module.cxx b/build2/module.cxx index e05e22c..b090173 100644 --- a/build2/module.cxx +++ b/build2/module.cxx @@ -98,12 +98,10 @@ namespace build2 bool l (i != lm.end ()); bool c (l && i->second.init (rs, bs, loc, i->second.module, f, opt)); - const variable& lv (var_pool.find (name + ".loaded", - variable_visibility::project, - bool_type)); - const variable& cv (var_pool.find (name + ".configured", - variable_visibility::project, - bool_type)); + const variable& lv (var_pool.find (name + ".loaded", + variable_visibility::project)); + const variable& cv (var_pool.find (name + ".configured", + variable_visibility::project)); bs.assign (lv) = l; bs.assign (cv) = c; -- cgit v1.1