Deprecate Scope::ScopeID(), replace with GetID()

This commit is contained in:
Jon Siwek 2020-05-27 16:36:14 -07:00
parent 8b6de5852c
commit b0c95e30d0
3 changed files with 9 additions and 5 deletions

View file

@ -881,7 +881,7 @@ function_ingredients::function_ingredients(IntrusivePtr<Scope> scope, IntrusiveP
inits = scope->GetInits();
this->scope = std::move(scope);
id = {NewRef{}, this->scope->ScopeID()};
id = this->scope->GetID();
const auto& attrs = this->scope->Attrs();