diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-06-25 03:32:23 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-06-25 03:32:23 +0300 |
commit | 7dbadf4c8bc7400ac4108217eccb0fcc6c164f93 (patch) | |
tree | 27c367bf42914c9405d8e9d8035a7083c2af96c8 | |
parent | 09540c8cd0c6a89eb392d59dab04487246189979 (diff) |
Mac buildfix
-rw-r--r-- | indra/newview/lltexturecache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 9969631843..cf1ee04644 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1747,7 +1747,8 @@ void LLTextureCache::purgeTexturesLazy(F32 time_limit_sec) 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); } } |