mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Use emplace() instead of insert() where applicable for maps.
This commit is contained in:
@ -258,7 +258,7 @@ ID3D11PixelShader* PSTextureEncoder::SetStaticShader(unsigned int dstFormat, PEC
|
||||
dstFormat, srcFormat, isIntensity, scaleByHalf);
|
||||
D3D::SetDebugObjectName(newShader, debugName);
|
||||
|
||||
it = m_staticShaders.insert(std::make_pair(key, newShader)).first;
|
||||
it = m_staticShaders.emplace(key, newShader).first;
|
||||
bytecode->Release();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user