MessageQueue: avoid allocation of unnecessary temporary strings
Change-Id: I9162407020d84d0c92c9d1c6dfab806c67f3b873
This commit is contained in:
parent
c56888159a
commit
74a29c4ee4
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void TileQueue::put_impl(const Payload& value)
|
|||
Log::error(std::to_string(i) + ": " + oldMsg);
|
||||
if (newMsg == oldMsg)
|
||||
{
|
||||
Log::trace("Replacing duplicate tile: " + oldMsg + " -> " + newMsg);
|
||||
Log::trace() << "Replacing duplicate tile: " << oldMsg << " -> " << newMsg << Log::end;
|
||||
_queue[i] = value;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue