aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-12-15 17:04:15 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-12-15 17:04:15 +0100
commita9eeec745e29d89afd48ee43d09432eb6fc35be7 (patch)
tree6fc71a253c8b0325d303bd34c95b564ba536ed14 /arch/x86_64/include
parent1945dd16716392e70e74efacd19e779f121bd1da (diff)
downloadteachos-a9eeec745e29d89afd48ee43d09432eb6fc35be7.tar.xz
teachos-a9eeec745e29d89afd48ee43d09432eb6fc35be7.zip
kapi/memory: initialize memory subsystem
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
{