GP-2913 addressing code review comments

This commit is contained in:
James 2022-12-06 21:34:28 +00:00
parent e600b96980
commit 93d3808232
2 changed files with 4 additions and 4 deletions

View file

@ -2199,8 +2199,8 @@ const Location *SleighCompile::getLocation(SleighSymbol *sym) const
{
try {
return &symbolLocationMap.at(sym);
} catch (const std::out_of_range &e) {
return NULL;
} catch (const out_of_range &e) {
return nullptr;
}
}