diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/KResult.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/KResult.h b/Kernel/KResult.h index 35f9a28ea2..3d821c4260 100644 --- a/Kernel/KResult.h +++ b/Kernel/KResult.h @@ -61,7 +61,7 @@ private: }; template<typename T> -class alignas(T) KResultOr { +class alignas(T) [[nodiscard]] KResultOr { public: KResultOr(KResult error) : m_error(error) |