aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-03-14 15:01:02 -0500
committerGravatar Subv <subv2112@gmail.com>2015-03-14 15:01:02 -0500
commitc0d1a91017d528c600d14897e2b4a38c6b14dcd5 (patch)
tree870f7cf85e088294388f63f544826c992d4583c0 /src/common/emu_window.h
parented5b275d21612906e6eeb4b1f344aa0f1eb31c10 (diff)
EmuWindow: Fixed a reference to a temporary variable
in GetTouchState()
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 2be7517b..c8e2de04 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -110,7 +110,7 @@ public:
* @return std::tuple of (x, y, pressed) where `x` and `y` are the touch coordinates and
* `pressed` is true if the touch screen is currently being pressed
*/
- const std::tuple<u16, u16, bool>& GetTouchState() const {
+ const std::tuple<u16, u16, bool> GetTouchState() const {
return std::make_tuple(touch_x, touch_y, touch_pressed);
}