summaryrefslogtreecommitdiffhomepage
path: root/Kernel/NewKit/Ref.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/NewKit/Ref.hpp')
-rw-r--r--Kernel/NewKit/Ref.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/NewKit/Ref.hpp b/Kernel/NewKit/Ref.hpp
index da5d6206..0b0f89cc 100644
--- a/Kernel/NewKit/Ref.hpp
+++ b/Kernel/NewKit/Ref.hpp
@@ -43,6 +43,11 @@ namespace Kernel
return fClass;
}
+ T& Fetch() const noexcept
+ {
+ return fClass;
+ }
+
T operator*()
{
return fClass;