mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 18:07:57 -05:00
core/video_core: Use in-place construction where possible
This commit is contained in:
@ -129,7 +129,7 @@ static void FreeTsEvent(Event* event) {
|
||||
}
|
||||
|
||||
int RegisterEvent(const char* name, TimedCallback callback) {
|
||||
event_types.push_back(EventType(callback, name));
|
||||
event_types.emplace_back(callback, name);
|
||||
return (int)event_types.size() - 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user