mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Use emplace() instead of insert() where applicable for maps.
This commit is contained in:
parent
1120132d26
commit
daa205990f
12 changed files with 41 additions and 30 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue