aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli/module.cxx')
-rw-r--r--build2/cli/module.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cli/module.cxx b/build2/cli/module.cxx
index 907bd0b..4e81908 100644
--- a/build2/cli/module.cxx
+++ b/build2/cli/module.cxx
@@ -45,7 +45,7 @@ namespace build2
{
auto l (base["cxx.loaded"]);
- if (!l || !cast<bool> (*l))
+ if (!l || !cast<bool> (l))
fail (loc) << "cxx module must be loaded before cli";
}
@@ -90,7 +90,7 @@ namespace build2
{
auto l (root["config.cli.configured"]);
- if (l && !cast<bool> (*l))
+ if (l && !cast<bool> (l))
return false;
}