aboutsummaryrefslogtreecommitdiff
path: root/source/include/memory
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/memory')
-rw-r--r--source/include/memory/asm_pointer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/memory/asm_pointer.hpp b/source/include/memory/asm_pointer.hpp
index ec7141e..b2e890c 100644
--- a/source/include/memory/asm_pointer.hpp
+++ b/source/include/memory/asm_pointer.hpp
@@ -7,6 +7,8 @@ namespace teachos::boot
template<typename Type>
struct asm_pointer
{
+ using pointer = Type;
+
constexpr asm_pointer(Type & pointer)
: m_pointer{&pointer}
{