diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 07:01:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 07:01:32 +0100 |
commit | dbb6d49a5632a26885e6e388128d68fe1932a4ea (patch) | |
tree | 28ccf74c6fe06c1e79a98fc1d534c9086387b849 /serialize | |
parent | 2a0f6513132982c17644fc0917ad1f632b2d5b81 (diff) |
add missing includes
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/binary-reader.hpp | 2 | ||||
-rw-r--r-- | serialize/magnum-vector2i.hpp | 1 | ||||
-rw-r--r-- | serialize/world-impl.hpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/serialize/binary-reader.hpp b/serialize/binary-reader.hpp index 881ed88f..b95c3713 100644 --- a/serialize/binary-reader.hpp +++ b/serialize/binary-reader.hpp @@ -1,5 +1,6 @@ #pragma once #include "binary-serializer.hpp" +#include <array> #include <iterator> #include <Corrade/Containers/StringView.h> @@ -46,4 +47,3 @@ template<typename Array> binary_reader(Array&& array) -> binary_reader<std::decay_t<decltype(std::begin(array))>>; } // namespace floormat::Serialize - diff --git a/serialize/magnum-vector2i.hpp b/serialize/magnum-vector2i.hpp index c53f26b8..7b78d73f 100644 --- a/serialize/magnum-vector2i.hpp +++ b/serialize/magnum-vector2i.hpp @@ -2,6 +2,7 @@ #include "serialize/string.hpp" #include <cstdio> #include <Magnum/Math/Vector2.h> +#include <Corrade/Containers/StringView.h> #include <nlohmann/json.hpp> namespace nlohmann { diff --git a/serialize/world-impl.hpp b/serialize/world-impl.hpp index 4c206a7e..210b6836 100644 --- a/serialize/world-impl.hpp +++ b/serialize/world-impl.hpp @@ -6,6 +6,7 @@ #include "src/tile.hpp" #include <bit> #include <cstdio> +#include <limits> namespace floormat::Serialize { |