diff options
Diffstat (limited to 'vcl/opengl/program.cxx')
-rw-r--r-- | vcl/opengl/program.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/opengl/program.cxx b/vcl/opengl/program.cxx index 434b72482a8b..0fe460592007 100644 --- a/vcl/opengl/program.cxx +++ b/vcl/opengl/program.cxx @@ -113,9 +113,7 @@ void OpenGLProgram::SetAlphaCoord( const GLvoid* pData ) GLuint OpenGLProgram::GetUniformLocation( const OString& rName ) { - boost::unordered_map<OString, GLuint>::iterator it; - - it = maUniformLocations.find( rName ); + auto it = maUniformLocations.find( rName ); if( it == maUniformLocations.end() ) { GLuint nLocation = glGetUniformLocation( mnId, (char*) rName.getStr() ); |