diff options
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 1cffb85..ec33d6e 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -4952,11 +4952,10 @@ namespace build2 // attributes). if (type || vis || ovr) - ctx->var_pool.update (const_cast<variable&> (var), - type, - vis ? &*vis : nullptr, - ovr ? &*ovr : nullptr); - + var.owner->update (const_cast<variable&> (var), + type, + vis ? &*vis : nullptr, + ovr ? &*ovr : nullptr); } void parser:: |