summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/HALKit/AMD64/HalKernelMain.cc1
-rw-r--r--src/kernel/NeKit/Config.h18
-rw-r--r--src/kernel/NeKit/Domain.h6
-rw-r--r--src/kernel/NeKit/Ref.h4
-rw-r--r--src/kernel/NeKit/Vettable.h4
5 files changed, 15 insertions, 18 deletions
diff --git a/src/kernel/HALKit/AMD64/HalKernelMain.cc b/src/kernel/HALKit/AMD64/HalKernelMain.cc
index 860da0a3..3a30bb04 100644
--- a/src/kernel/HALKit/AMD64/HalKernelMain.cc
+++ b/src/kernel/HALKit/AMD64/HalKernelMain.cc
@@ -120,7 +120,6 @@ EXTERN_C Kernel::Int32 hal_init_platform(Kernel::HEL::BootInfoHeader* handover_h
FB::cg_clear_video();
-
// Load memory descriptors.
HAL::Register64 gdt_reg;
diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h
index e4e34e2c..3eceb79e 100644
--- a/src/kernel/NeKit/Config.h
+++ b/src/kernel/NeKit/Config.h
@@ -191,9 +191,9 @@ template <class Type>
struct FalseResult final {
using ResultType = Type;
using ResultTypeRef = ResultType&;
- using TypeRef = ResultTypeRef;
- using ConstType = const Type&;
- using TypePtr = Type*;
+ using TypeRef = ResultTypeRef;
+ using ConstType = const Type&;
+ using TypePtr = Type*;
static constexpr bool kValue = false;
};
@@ -202,9 +202,9 @@ template <class Type>
struct TrueResult final {
using ResultType = Type;
using ResultTypeRef = ResultType&;
- using TypeRef = ResultTypeRef;
- using ConstType = const Type&;
- using TypePtr = Type*;
+ using TypeRef = ResultTypeRef;
+ using ConstType = const Type&;
+ using TypePtr = Type*;
static constexpr bool kValue = true;
};
@@ -213,9 +213,9 @@ template <class Type>
struct PropertyResult final {
using ResultType = Type;
using ResultTypeRef = ResultType&;
- using TypeRef = ResultTypeRef;
- using ConstType = const Type&;
- using TypePtr = Type*;
+ using TypeRef = ResultTypeRef;
+ using ConstType = const Type&;
+ using TypePtr = Type*;
static constexpr bool kValue = Type::kValue;
};
diff --git a/src/kernel/NeKit/Domain.h b/src/kernel/NeKit/Domain.h
index 376fd9d5..534d6901 100644
--- a/src/kernel/NeKit/Domain.h
+++ b/src/kernel/NeKit/Domain.h
@@ -14,9 +14,9 @@ template <class Type>
struct IsDefined final {
using ResultType = Type;
using ResultTypeRef = Type&;
- using TypeRef = ResultTypeRef;
- using ConstType = const Type&;
- using TypePtr = Type*;
+ using TypeRef = ResultTypeRef;
+ using ConstType = const Type&;
+ using TypePtr = Type*;
static constexpr bool kValue = true;
};
diff --git a/src/kernel/NeKit/Ref.h b/src/kernel/NeKit/Ref.h
index 58a77238..ee7d6e7d 100644
--- a/src/kernel/NeKit/Ref.h
+++ b/src/kernel/NeKit/Ref.h
@@ -61,9 +61,9 @@ class Ref final {
explicit operator bool() {
if constexpr (IsVettable<Type>) {
- return Type::kVettable;
+ return Type::kVettable;
} else {
- return false;
+ return false;
}
}
diff --git a/src/kernel/NeKit/Vettable.h b/src/kernel/NeKit/Vettable.h
index a09a6aae..f59d803c 100644
--- a/src/kernel/NeKit/Vettable.h
+++ b/src/kernel/NeKit/Vettable.h
@@ -16,9 +16,7 @@
namespace Kernel {
template <class Type>
-concept IsVettable = requires(Type) {
- (Type::kVettable);
-};
+concept IsVettable = requires(Type) { (Type::kVettable); };
} // namespace Kernel
#endif // !__NE_KIT_VETTABLE_H__