Răsfoiți Sursa

Merge pull request #658 from Subv/ref_temporary

EmuWindow: Fixed a reference to a temporary variable
Tony Wasserka 11 ani în urmă
părinte
comite
fdd9fed47e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);
     }