Restore range check.
This commit is contained in:
parent
b43194ba2e
commit
7fbbef791e
1 changed files with 1 additions and 0 deletions
|
@ -322,6 +322,7 @@ void set_active_scopes(hk_scopes s)
|
|||
|
||||
bool is_scope_active(scope s)
|
||||
{
|
||||
assert(s < SCOPE_COUNT);
|
||||
return scope_active_[s];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue