summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-02-17 23:42:28 +0100
committerLioncash <mathew1800@gmail.com>2015-02-17 23:57:23 +0100
commit5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8 (patch)
treefbe9bc5f148ee6c5e0abf6a3c284f65d88d7731c /src/core
parentMerge pull request #529 from Subv/master (diff)
downloadyuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar.gz
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar.bz2
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar.lz
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar.xz
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.tar.zst
yuzu-5d2366e1e9adaa5b4275127dff5005f2ef2f8ff8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_timing.cpp2
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;
}