diff options
Diffstat (limited to 'build2/scope.hxx')
-rw-r--r-- | build2/scope.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scope.hxx b/build2/scope.hxx index 6e48de35..cfb3d245 100644 --- a/build2/scope.hxx +++ b/build2/scope.hxx @@ -125,7 +125,7 @@ namespace build2 const string* tn = nullptr) const { auto p (find_original (var, tt, tn)); - return var.override == nullptr ? p : find_override (var, move (p)); + return var.overrides == nullptr ? p : find_override (var, move (p)); } // Implementation details (used by scope target lookup). The start_depth |