mirror of
https://github.com/anope/anope.git
synced 2026-07-02 14:53:13 +02:00
Use emplace() instead of insert(std::make_pair()).
This commit is contained in:
+1
-1
@@ -297,7 +297,7 @@ void StackerInfo::AddMode(Mode *mode, bool set, const Anope::string ¶m)
|
||||
}
|
||||
|
||||
/* Add this mode and its param to our list */
|
||||
list->push_back(std::make_pair(mode, param));
|
||||
list->emplace_back(mode, param);
|
||||
}
|
||||
|
||||
static class ModePipe : public Pipe
|
||||
|
||||
Reference in New Issue
Block a user