aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/emu_window.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-23 11:21:00 -0400
committerLioncash <mathew1800@gmail.com>2021-04-23 11:21:02 -0400
commitd363b2c7d2570200f9e55f498033e9c975619e93 (patch)
tree2866252caefeb50fbc1105b512b3016dc62f8f32 /src/core/frontend/emu_window.h
parent8805233f5e6360c5153e66c8937d5e7ae94c2143 (diff)
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.
Diffstat (limited to 'src/core/frontend/emu_window.h')
-rw-r--r--src/core/frontend/emu_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index beb4d9027..076148698 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -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