diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-03 12:00:11 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-03 12:00:11 +0300 |
commit | e0265d3754b190d28d5a5a55fc1a1e510d9aef59 (patch) | |
tree | ffe716cfaa055155098d88ad9fa4815fba13e510 | |
parent | f33c96421049d0f0a447d9a51d4f29b655a7246a (diff) |
build fix
-rw-r--r-- | indra/newview/lltexturecache.cpp | 3 | ||||
-rw-r--r-- | indra/newview/lltexturecache.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 1aa95f996a..1000377718 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1713,7 +1713,8 @@ void LLTextureCache::purgeTexturesLazy(F32 time_limit) id_map_t::iterator iter_header = mHeaderIDMap.find(entry.mID); if (iter_header != mHeaderIDMap.end() && iter_header->second == idx) { - removeEntry(idx, entry, getTextureFileName(entry.mID)); + std::string tex_filename = getTextureFileName(entry.mID); + removeEntry(idx, entry, tex_filename); writeEntryToHeaderImmediately(idx, entry); } } diff --git a/indra/newview/lltexturecache.h b/indra/newview/lltexturecache.h index 23d08d439c..bcc27c6598 100644 --- a/indra/newview/lltexturecache.h +++ b/indra/newview/lltexturecache.h @@ -226,7 +226,7 @@ private: typedef std::map<S32, Entry> idx_entry_map_t; idx_entry_map_t mUpdatedEntryMap; - typedef std::vector<std::pair<S32, Entry>> idx_entry_vector_t; + typedef std::vector<std::pair<S32, Entry> > idx_entry_vector_t; idx_entry_vector_t mPurgeEntryList; // Statics |