emu_window: Return pair from ClipToTouchScreen() instead of tuple

This is only a 2-tuple, so it can be converted over to the std::pair
class.
This commit is contained in:
Lioncash 2021-04-23 11:21:00 -04:00
parent 8805233f5e
commit d363b2c7d2
2 changed files with 9 additions and 6 deletions

View file

@ -228,7 +228,7 @@ private:
/**
* Clip the provided coordinates to be inside the touchscreen area.
*/
std::tuple<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const;
std::pair<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const;
Layout::FramebufferLayout framebuffer_layout; ///< Current framebuffer layout