diff options
| author | Fawrsk <fawrsk@gmail.com> | 2023-01-09 19:19:12 -0400 |
|---|---|---|
| committer | Fawrsk <fawrsk@gmail.com> | 2023-01-09 19:19:12 -0400 |
| commit | 8767e6995b0c9b9ed23e07f63d290a1da8c70f17 (patch) | |
| tree | 26c8c15b117bc183386af1ee6e8b6617708aeba7 /indra/llcommon/llheteromap.cpp | |
| parent | 9e743c99fb69db5694c388ae33656c62e3fa0b8e (diff) | |
Eliminate needless copies
Diffstat (limited to 'indra/llcommon/llheteromap.cpp')
| -rw-r--r-- | indra/llcommon/llheteromap.cpp | 2 |
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 |
