summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-18 11:34:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-18 12:29:24 +0100
commit7e79dbfedfc019b269139b5308e4811938b75278 (patch)
treeac441403afa8da5b6586d963e79f636f7bcef2bf /floormat
parentec4f8323fe075e8b8d716128996658a2a1a300d7 (diff)
compat: remove integer-types header
Other headers incldue <cstddef> and <cstdint> anyway.
Diffstat (limited to 'floormat')
-rw-r--r--floormat/events.hpp2
-rw-r--r--floormat/main.hpp1
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>