aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx/module.cxx')
-rw-r--r--build/cxx/module.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx
index 04b1ae5..435e54c 100644
--- a/build/cxx/module.cxx
+++ b/build/cxx/module.cxx
@@ -49,7 +49,7 @@ namespace build
if (val)
{
- if (&val.scope () != global_scope)
+ if (val.scope != global_scope)
break; // A value from config.build.
v = val.as<const string&> ();
@@ -110,7 +110,7 @@ namespace build
//
if (auto val = root["config.cxx.poptions"])
{
- if (&val.scope () == global_scope)
+ if (val.scope == global_scope)
root.variables["config.cxx.poptions"] = val;
}
else
@@ -118,7 +118,7 @@ namespace build
if (auto val = root["config.cxx.coptions"])
{
- if (&val.scope () == global_scope)
+ if (val.scope == global_scope)
root.variables["config.cxx.coptions"] = val;
}
else
@@ -126,7 +126,7 @@ namespace build
if (auto val = root["config.cxx.loptions"])
{
- if (&val.scope () == global_scope)
+ if (val.scope == global_scope)
root.variables["config.cxx.loptions"] = val;
}
else
@@ -134,7 +134,7 @@ namespace build
if (auto val = root["config.cxx.libs"])
{
- if (&val.scope () == global_scope)
+ if (val.scope == global_scope)
root.variables["config.cxx.libs"] = val;
}
else