diff options
Diffstat (limited to 'libbuild2/cc/module.hxx')
-rw-r--r-- | libbuild2/cc/module.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx index 5c68482..df7fc70 100644 --- a/libbuild2/cc/module.hxx +++ b/libbuild2/cc/module.hxx @@ -63,8 +63,9 @@ namespace build2 // Cached x.internal.scope value. // - const string* internal_scope = nullptr; - const scope* internal_scope_current = nullptr; + using internal_scope = data::internal_scope; + optional<internal_scope> iscope; + const scope* iscope_current; // Temporary storage for data::sys_*_dirs_*. // |