summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-05-25 17:50:20 -0300
committerGravatar ReinUsesLisp2019-05-26 00:54:13 -0300
commit37eaf39b4443305fd04b894abcfc09cd68c17087 (patch)
treebdf6b251afbae9f49a369e7cad7c82ed85fd4599 /src/core
parentyuzu_cmd: Split emu_window OpenGL implementation into its own file (diff)
downloadyuzu-37eaf39b4443305fd04b894abcfc09cd68c17087.tar.gz
yuzu-37eaf39b4443305fd04b894abcfc09cd68c17087.tar.xz
yuzu-37eaf39b4443305fd04b894abcfc09cd68c17087.zip
emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by reference.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/frontend/emu_window.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index e2c290dc1..4a9912641 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -169,8 +169,7 @@ private:
169 * For the request to be honored, EmuWindow implementations will usually reimplement this 169 * For the request to be honored, EmuWindow implementations will usually reimplement this
170 * function. 170 * function.
171 */ 171 */
172 virtual void OnMinimalClientAreaChangeRequest( 172 virtual void OnMinimalClientAreaChangeRequest(std::pair<unsigned, unsigned>) {
173 const std::pair<unsigned, unsigned>& minimal_size) {
174 // By default, ignore this request and do nothing. 173 // By default, ignore this request and do nothing.
175 } 174 }
176 175