mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Core/Commands: Fix copypaste
This commit is contained in:
@@ -46,7 +46,7 @@ void Trinity::Impl::ChatCommands::EnumArgInfoBase::AddSearchMapEntry(SearchMap&
|
||||
if (title != constant)
|
||||
{
|
||||
auto titleIt = std::ranges::lower_bound(map, title, compare, Containers::MapKey);
|
||||
if (constantIt == map.end() || compare(title, titleIt->first))
|
||||
if (titleIt == map.end() || compare(title, titleIt->first))
|
||||
map.emplace(titleIt, title, val); // not unique
|
||||
else
|
||||
titleIt->second = std::nullopt;
|
||||
|
||||
Reference in New Issue
Block a user