Added some missing headers.
This commit is contained in:
parent
86f3790ce1
commit
973b62a348
@ -4,9 +4,12 @@
|
|||||||
#if !defined(MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED)
|
#if !defined(MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED)
|
||||||
#define MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED 1
|
#define MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED 1
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
#include <utility>
|
||||||
#include "../debug/assert.hpp"
|
#include "../debug/assert.hpp"
|
||||||
#include "../internal/common.hpp"
|
#include "../internal/common.hpp"
|
||||||
#include "../util/align.hpp"
|
#include "../util/align.hpp"
|
||||||
|
#include "../util/concepts.hpp"
|
||||||
#include "../util/traits.hpp"
|
#include "../util/traits.hpp"
|
||||||
|
|
||||||
#if !defined(MIJIN_STACK_ALLOCATOR_DEBUG)
|
#if !defined(MIJIN_STACK_ALLOCATOR_DEBUG)
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#if !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED)
|
#if !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED)
|
||||||
#define MIJIN_UTIL_ALIGN_HPP_INCLUDED 1
|
#define MIJIN_UTIL_ALIGN_HPP_INCLUDED 1
|
||||||
|
|
||||||
|
#include <bit>
|
||||||
|
#include <cstdint>
|
||||||
#include "../internal/common.hpp"
|
#include "../internal/common.hpp"
|
||||||
|
|
||||||
namespace mijin
|
namespace mijin
|
||||||
@ -27,4 +29,4 @@ T* alignUp(T* pointer, std::uintptr_t alignTo) MIJIN_NOEXCEPT
|
|||||||
#define MIJIN_STRIDEOF(T) mijin::alignUp(sizeof(T), alignof(T))
|
#define MIJIN_STRIDEOF(T) mijin::alignUp(sizeof(T), alignof(T))
|
||||||
} // namespace mijin
|
} // namespace mijin
|
||||||
|
|
||||||
#endif // !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED)
|
#endif // !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user