diff options
author | bunnei <bunneidev@gmail.com> | 2015-02-18 23:36:34 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-02-18 23:36:34 +0100 |
commit | ec8f2210e3d437b93313f2565170fde393fcaae5 (patch) | |
tree | 26ac08576ebd4b00e9ed8224fada208288c555de /src/video_core/debug_utils/debug_utils.cpp | |
parent | Merge pull request #562 from neobrain/pica_progress3 (diff) | |
parent | core/video_core: Use in-place construction where possible (diff) | |
download | yuzu-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/video_core/debug_utils/debug_utils.cpp')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 8c4ec1044..0beb72e6b 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -189,7 +189,7 @@ void DumpShader(const u32* binary_data, u32 binary_size, const u32* swizzle_data ); if (it == output_info_table.end()) { - output_info_table.push_back({}); + output_info_table.emplace_back(); output_info_table.back().type = type; output_info_table.back().component_mask = component_mask; output_info_table.back().id = i; @@ -285,7 +285,7 @@ void OnPicaRegWrite(u32 id, u32 value) if (!is_pica_tracing) return; - pica_trace->writes.push_back({id, value}); + pica_trace->writes.emplace_back(id, value); } std::unique_ptr<PicaTrace> FinishPicaTracing() |