From 37eaf39b4443305fd04b894abcfc09cd68c17087 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sat, 25 May 2019 17:50:20 -0300 Subject: emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy There's no performance improvement in passing an unsigned pair by reference. --- src/core/frontend/emu_window.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/frontend/emu_window.h') 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: * For the request to be honored, EmuWindow implementations will usually reimplement this * function. */ - virtual void OnMinimalClientAreaChangeRequest( - const std::pair& minimal_size) { + virtual void OnMinimalClientAreaChangeRequest(std::pair) { // By default, ignore this request and do nothing. } -- cgit v1.2.3