diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-27 14:46:56 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-27 14:46:56 +0100 |
commit | 8554de0ebd75aea3c4b25d2fc211ad3a904f741b (patch) | |
tree | eea2d04de123e560f3c6b69fea0f4ef3f4f86c68 /src/crepe/system/InputSystem.h | |
parent | e8b93d0ffaccf523139f75ff9b9dc43647e90746 (diff) |
added RefVector
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r-- | src/crepe/system/InputSystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h index 8b47e49..a2a81bd 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -2,6 +2,7 @@ #include "facade/SDLContext.h" #include "util/OptionalRef.h" +#include "types.h" #include "System.h" @@ -61,8 +62,7 @@ private: * \return A pointer to the transform of the button, or nullptr if not found. */ OptionalRef<Transform> - find_transform_for_button(Button & button, - std::vector<std::reference_wrapper<Transform>> & transforms); + find_transform_for_button(Button & button, RefVector<Transform>& transforms); /** * \brief Checks if the mouse position is inside the bounds of the button. |