summaryrefslogtreecommitdiff
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-03-26 14:09:26 -0400
committerbunnei <bunneidev@gmail.com>2016-03-26 14:09:26 -0400
commite366f60cff290d76cf0876dcf7d07240dae0d12d (patch)
tree5319db9aa51130baf0cce63d85a5419eadea820e /src/common/emu_window.h
parent39da819b5564a495db78f869062123fbab5fec3d (diff)
parentaeb29a1a60f0713ea7607c4cda1aab28b73af16a (diff)
Merge pull request #1573 from wwylele/input_fix
Remove unnecessary const & replace pointer with reference
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index b6b7bfd26..7c3486dea 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -105,7 +105,7 @@ public:
* @todo Fix this function to be thread-safe.
* @return PadState object indicating the current pad state
*/
- const Service::HID::PadState GetPadState() const {
+ Service::HID::PadState GetPadState() const {
return pad_state;
}
@@ -116,7 +116,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 {
+ std::tuple<u16, u16, bool> GetTouchState() const {
return std::make_tuple(touch_x, touch_y, touch_pressed);
}