better method name: HasCopySemantics()

This commit is contained in:
Vern Paxson 2021-03-18 17:12:23 -07:00
parent a7fcc7a5d8
commit 3e07564fb9
3 changed files with 3 additions and 3 deletions

View file

@ -587,7 +587,7 @@ bool ScriptFunc::StrengthenClosureReference(Frame* f)
return true;
}
bool ScriptFunc::CopySemantics() const
bool ScriptFunc::HasCopySemantics() const
{
return type->GetCaptures().has_value();
}