Replaced std::map with std::unordered_map

Not possible yet with NzString-key map


Former-commit-id: faa628a1c9c10e7bc009bf5a67e112ad5f873bd8
This commit is contained in:
Lynix
2013-02-17 14:08:12 +01:00
parent 2e4c27188f
commit 857d2dd9ed
6 changed files with 8 additions and 8 deletions

View File

@@ -192,7 +192,7 @@ NzString NzGLSLShader::GetSourceCode(nzShaderType type) const
int NzGLSLShader::GetUniformLocation(const NzString& name) const
{
std::map<NzString, GLint>::const_iterator it = m_idCache.find(name);
auto it = m_idCache.find(name);
GLint id;
if (it == m_idCache.end())
{