summaryrefslogtreecommitdiff
path: root/indra/llcommon/llheteromap.cpp
diff options
context:
space:
mode:
authorFawrsk <fawrsk@gmail.com>2023-01-09 19:19:12 -0400
committerFawrsk <fawrsk@gmail.com>2023-01-09 19:19:12 -0400
commit8767e6995b0c9b9ed23e07f63d290a1da8c70f17 (patch)
tree26c8c15b117bc183386af1ee6e8b6617708aeba7 /indra/llcommon/llheteromap.cpp
parent9e743c99fb69db5694c388ae33656c62e3fa0b8e (diff)
Eliminate needless copies
Diffstat (limited to 'indra/llcommon/llheteromap.cpp')
-rw-r--r--indra/llcommon/llheteromap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llheteromap.cpp b/indra/llcommon/llheteromap.cpp
index 4bc29a1736..c84e49d085 100644
--- a/indra/llcommon/llheteromap.cpp
+++ b/indra/llcommon/llheteromap.cpp
@@ -22,7 +22,7 @@ LLHeteroMap::~LLHeteroMap()
{
// For each entry in our map, we must call its deleter, which is the only
// record we have of its original type.
- for (TypeMap::value_type pair : mMap)
+ for (TypeMap::value_type& pair : mMap)
{
// pair.second is the std::pair; pair.second.first is the void*;
// pair.second.second points to the deleter function