diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 11:34:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 12:29:24 +0100 |
commit | 7e79dbfedfc019b269139b5308e4811938b75278 (patch) | |
tree | ac441403afa8da5b6586d963e79f636f7bcef2bf /floormat | |
parent | ec4f8323fe075e8b8d716128996658a2a1a300d7 (diff) |
compat: remove integer-types header
Other headers incldue <cstddef> and <cstdint> anyway.
Diffstat (limited to 'floormat')
-rw-r--r-- | floormat/events.hpp | 2 | ||||
-rw-r--r-- | floormat/main.hpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/floormat/events.hpp b/floormat/events.hpp index 597c89b2..a70832fd 100644 --- a/floormat/events.hpp +++ b/floormat/events.hpp @@ -3,7 +3,7 @@ namespace floormat { -enum mouse_button : std::uint8_t { +enum mouse_button : unsigned char { mouse_button_none = 0, mouse_button_left = 1 << 0, mouse_button_middle = 1 << 1, diff --git a/floormat/main.hpp b/floormat/main.hpp index 9347ad40..acd1bfdc 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -1,5 +1,6 @@ #pragma once +#include "compat/defs.hpp" #include "src/global-coords.hpp" #include <Magnum/Math/Vector2.h> |