mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 12:45:05 +01:00
remove unnecessary const
This commit is contained in:
parent
39da819b55
commit
6bd5f98272
@ -105,7 +105,7 @@ public:
|
|||||||
* @todo Fix this function to be thread-safe.
|
* @todo Fix this function to be thread-safe.
|
||||||
* @return PadState object indicating the current pad state
|
* @return PadState object indicating the current pad state
|
||||||
*/
|
*/
|
||||||
const Service::HID::PadState GetPadState() const {
|
Service::HID::PadState GetPadState() const {
|
||||||
return pad_state;
|
return pad_state;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ public:
|
|||||||
* @return std::tuple of (x, y, pressed) where `x` and `y` are the touch coordinates and
|
* @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
|
* `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);
|
return std::make_tuple(touch_x, touch_y, touch_pressed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user