Restore range check.

This commit is contained in:
josteph 2017-10-30 02:01:30 +00:00 committed by Jyrki Vesterinen
parent b43194ba2e
commit 7fbbef791e

View file

@ -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];
}