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 /serialize | |
parent | ec4f8323fe075e8b8d716128996658a2a1a300d7 (diff) |
compat: remove integer-types header
Other headers incldue <cstddef> and <cstdint> anyway.
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/binary-serializer.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/serialize/binary-serializer.hpp b/serialize/binary-serializer.hpp index 66281cc1..3d39880c 100644 --- a/serialize/binary-serializer.hpp +++ b/serialize/binary-serializer.hpp @@ -1,7 +1,7 @@ #pragma once -#include "compat/integer-types.hpp" -#include "compat/defs.hpp" +#include <cstddef> +#include <cstdint> #include <bit> #include <concepts> #include <type_traits> @@ -17,7 +17,7 @@ namespace floormat::Serialize { static_assert(std::endian::native == std::endian::big || std::endian::native == std::endian::little); -enum class value_type : std::uint8_t { +enum class value_type : unsigned char { none, uc, u8, u16, u32, u64, f32, f64, COUNT |