emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by reference.
This commit is contained in:
parent
4b80dd23a4
commit
37eaf39b44
5 changed files with 5 additions and 10 deletions
|
@ -50,8 +50,7 @@ protected:
|
|||
void Fullscreen();
|
||||
|
||||
/// Called when a configuration change affects the minimal size of the window
|
||||
void OnMinimalClientAreaChangeRequest(
|
||||
const std::pair<unsigned, unsigned>& minimal_size) override;
|
||||
void OnMinimalClientAreaChangeRequest(std::pair<unsigned, unsigned> minimal_size) override;
|
||||
|
||||
/// Is the window still open?
|
||||
bool is_open = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue