diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index 4be5921a9a4c5c304629338c09ce93d965a1bca6..8cf9a1e839214cd0e9f237f92096757355e545cb 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -1589,7 +1589,7 @@ void LLVOCache::readGenericExtrasFromCache(U64 handle, const LLUUID& id, LLVOCac try { num_entries = std::stol(line); } - catch(std::logic_error&) // either invalid_argument or out_of_range + catch(const std::logic_error&) // either invalid_argument or out_of_range { LL_WARNS() << "Failed reading extras cache for handle " << handle << ". unreadable num_entries" << LL_ENDL; return;