From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/NeKit/Defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/NeKit/Defines.h') diff --git a/src/kernel/NeKit/Defines.h b/src/kernel/NeKit/Defines.h index 1a6a2cf6..e53616a9 100644 --- a/src/kernel/NeKit/Defines.h +++ b/src/kernel/NeKit/Defines.h @@ -127,7 +127,7 @@ class ICodec { /// @param type (a1) the data. /// @return a1 as Char* template - const Char* AsBytes(T type) noexcept { + const Char* AsBytes(T type) { NE_UNUSED(type); return nullptr; } @@ -137,7 +137,7 @@ class ICodec { /// @param type (a1) the data. /// @return a1 as Char* template - OutputClass* Construct(Char* type) noexcept { + OutputClass* Construct(Char* type) { FactoryClass class_fac; return class_fac.template From(type); } @@ -148,7 +148,7 @@ class ICodec { /// @param type the class to cast. /// @return the class as Y. template - Y As(T type) noexcept { + Y As(T type) { if (type.template IsSerializable()) { return reinterpret_cast(type); } -- cgit v1.2.3