summaryrefslogtreecommitdiff
path: root/indra/llcommon/lldictionary.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-01 00:04:20 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-01 00:53:06 +0300
commit488b51b863c7902ed9f58179f664a1779ad148fb (patch)
tree09b7bf62207475e69cd547a86ebb333b34363de7 /indra/llcommon/lldictionary.h
parentea9a3c6fbbad01c94b109a1b4322c67e1bed3b24 (diff)
MacOS build fix
Diffstat (limited to 'indra/llcommon/lldictionary.h')
-rw-r--r--indra/llcommon/lldictionary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lldictionary.h b/indra/llcommon/lldictionary.h
index 3e86767d7e..18664e340e 100644
--- a/indra/llcommon/lldictionary.h
+++ b/indra/llcommon/lldictionary.h
@@ -87,7 +87,7 @@ protected:
}
void addEntry(Index index, Entry *entry)
{
- if (!insert(value_type(index, entry)).second)
+ if (!this->emplace(index, entry).second)
{
LL_ERRS() << "Dictionary entry already added (attempted to add duplicate entry)" << LL_ENDL;
}