Use emplace_back over push_back where appropriate

This commit is contained in:
Tim Wojtulewicz 2023-07-06 15:53:13 -07:00
parent 0d78eb1933
commit 64b78f6fb9
28 changed files with 86 additions and 86 deletions

View file

@ -148,7 +148,7 @@ bool File::Open(FILE* file, const char* mode)
}
is_open = true;
open_files.emplace_back(std::make_pair(name, this));
open_files.emplace_back(name, this);
RaiseOpenEvent();