Browse Source

Platform: looks like I forgot how to C++ here.

pull/651/head
Vladimír Vondruš 2 years ago
parent
commit
7300be7f3f
  1. 4
      src/Magnum/Platform/EmscriptenApplication.h

4
src/Magnum/Platform/EmscriptenApplication.h

@ -2079,7 +2079,7 @@ class EmscriptenApplication::PointerEvent: public InputEvent {
PointerEvent& operator=(PointerEvent&&) = delete; PointerEvent& operator=(PointerEvent&&) = delete;
/** @brief Pointer event source */ /** @brief Pointer event source */
PointerEventSource source() { return _source; } PointerEventSource source() const { return _source; }
/** /**
* @brief Pointer type that was pressed or released * @brief Pointer type that was pressed or released
@ -2243,7 +2243,7 @@ class EmscriptenApplication::PointerMoveEvent: public InputEvent {
* case it's a movement with both @ref pointer() and @ref pointers() * case it's a movement with both @ref pointer() and @ref pointers()
* being empty. * being empty.
*/ */
PointerEventSource source() { return _source; } PointerEventSource source() const { return _source; }
/** /**
* @brief Pointer type that was added or removed from the set of pressed pointers * @brief Pointer type that was added or removed from the set of pressed pointers

Loading…
Cancel
Save