mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use map::emplace instead of inserting std::pair (C++11)
This commit is contained in:
@@ -67,7 +67,7 @@ static std::multimap<oak::uuid_t, HTMLOutputWindowController*> Windows;
|
||||
Windows.erase(runner->uuid());
|
||||
|
||||
runner = aRunner;
|
||||
Windows.insert(std::make_pair(runner->uuid(), self));
|
||||
Windows.emplace(runner->uuid(), self);
|
||||
|
||||
self.window.title = [NSString stringWithCxxString:runner->name()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user