diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_timing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 604875160..cabe2a074 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -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; } |