minor followup to #1494

we do try and avoid auto for places that aren't mutatable patterns so folks can scan what's going on under the hood
This commit is contained in:
AzaezelX 2025-06-06 11:00:12 -05:00
parent ccd30a19cc
commit 2e15018ad3

View file

@ -292,7 +292,7 @@ GFXStateBlockRef GFXDevice::createStateBlock(const GFXStateBlockDesc& desc)
PROFILE_SCOPE( GFXDevice_CreateStateBlock );
U32 hashValue = desc.getHashValue();
auto it = mCurrentStateBlocks.find(hashValue);
StateBlockMap::Iterator it = mCurrentStateBlocks.find(hashValue);
if (it != mCurrentStateBlocks.end())
return it->value;