1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 07:23:14 +02:00

Use emplace() instead of insert(std::make_pair()).

This commit is contained in:
Sadie Powell
2022-09-12 20:33:21 +01:00
parent 1a2da82106
commit 5fa3d8f929
17 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ Module *Timer::GetOwner() const
void TimerManager::AddTimer(Timer *t)
{
Timers.insert(std::make_pair(t->GetTimer(), t));
Timers.emplace(t->GetTimer(), t);
}
void TimerManager::DelTimer(Timer *t)