diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index c1ffe6957a1a57dde763e17a43b83ad4ed9f5de2..bc33591ed77c5b647c5ed12137c13c6e22cc4029 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -326,7 +326,7 @@ class LLVBOPool auto& pool = type == GL_ELEMENT_ARRAY_BUFFER ? mIBOPool : mVBOPool; - auto& iter = pool.find(size); + Pool::iterator iter = pool.find(size); if (iter == pool.end()) { // cache miss, allocate a new buffer LL_PROFILE_ZONE_NAMED_CATEGORY_VERTEX("vbo pool miss"); @@ -374,7 +374,7 @@ class LLVBOPool auto& pool = type == GL_ELEMENT_ARRAY_BUFFER ? mIBOPool : mVBOPool; - auto& iter = pool.find(size); + Pool::iterator iter = pool.find(size); if (iter == pool.end()) {