Преглед изворни кода

EmuWindow: Fixed a reference to a temporary variable

 in GetTouchState()
Subv пре 11 година
родитељ
комит
c0d1a91017
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/common/emu_window.h

+ 1 - 1
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);
     }