summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-18 23:36:34 +0100
committerbunnei <bunneidev@gmail.com>2015-02-18 23:36:34 +0100
commitec8f2210e3d437b93313f2565170fde393fcaae5 (patch)
tree26ac08576ebd4b00e9ed8224fada208288c555de /src/core
parentMerge pull request #562 from neobrain/pica_progress3 (diff)
parentcore/video_core: Use in-place construction where possible (diff)
downloadyuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar.gz
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar.bz2
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar.lz
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar.xz
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.tar.zst
yuzu-ec8f2210e3d437b93313f2565170fde393fcaae5.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;
}