aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r--build2/test/script/script.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx
index 94d6d8b..865c798 100644
--- a/build2/test/script/script.cxx
+++ b/build2/test/script/script.cxx
@@ -653,7 +653,7 @@ namespace build2
if (p.first)
{
- if (var.override != nullptr)
+ if (var.overrides != nullptr)
p = s.target_scope.find_override (var, move (p), true);
return p.first;