Misc: Fix a bunch of code analysis warnings
Some of which were even actual errors.
This commit is contained in:
@ -136,7 +136,7 @@ template<typename FBOType, FBOType (*FactoryFunc)(GPUTexture* const* rts, u32 nu
|
||||
void (*DestroyFunc)(FBOType fbo)>
|
||||
void GPUFramebufferManager<FBOType, FactoryFunc, DestroyFunc>::Clear()
|
||||
{
|
||||
for (auto it : m_map)
|
||||
for (const auto& it : m_map)
|
||||
DestroyFunc(it.second);
|
||||
m_map.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user