summaryrefslogtreecommitdiffhomepage
path: root/entity
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 /entity
parentec4f8323fe075e8b8d716128996658a2a1a300d7 (diff)
compat: remove integer-types header
Other headers incldue <cstddef> and <cstdint> anyway.
Diffstat (limited to 'entity')
-rw-r--r--entity/entity.hpp2
-rw-r--r--entity/types.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/entity/entity.hpp b/entity/entity.hpp
index 1dedebf0..4eca858e 100644
--- a/entity/entity.hpp
+++ b/entity/entity.hpp
@@ -1,8 +1,8 @@
#pragma once
#include "name-of.hpp"
-#include "compat/integer-types.hpp"
#include "accessor.hpp"
#include "util.hpp"
+#include <cstddef>
#include <concepts>
#include <compare>
#include <type_traits>
diff --git a/entity/types.hpp b/entity/types.hpp
index 88391725..055f6de0 100644
--- a/entity/types.hpp
+++ b/entity/types.hpp
@@ -9,7 +9,7 @@ using StringView = BasicStringView<const char>;
namespace floormat::entities {
-enum class erased_field_type : std::uint32_t {
+enum class erased_field_type : unsigned {
none,
string,
u8, u16, u32, u64, s8, s16, s32, s64,