aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/x86_64/memory/buffered_allocator.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/include/x86_64/memory/buffered_allocator.hpp b/arch/x86_64/include/x86_64/memory/buffered_allocator.hpp
index d7e9491..90ac878 100644
--- a/arch/x86_64/include/x86_64/memory/buffered_allocator.hpp
+++ b/arch/x86_64/include/x86_64/memory/buffered_allocator.hpp
@@ -6,6 +6,7 @@
#include <algorithm>
#include <array>
#include <cstddef>
+#include <optional>
namespace teachos::memory::x86_64
{
@@ -20,7 +21,7 @@ namespace teachos::memory::x86_64
}
buffered_allocator(buffered_allocator const &) = delete;
- buffered_allocator(buffered_allocator &&) = default;
+ buffered_allocator(buffered_allocator && other) noexcept = delete;
~buffered_allocator() override
{