summaryrefslogtreecommitdiffhomepage
path: root/src/libDDK/DriverKit/c++
diff options
context:
space:
mode:
Diffstat (limited to 'src/libDDK/DriverKit/c++')
-rw-r--r--src/libDDK/DriverKit/c++/ddk.h2
-rw-r--r--src/libDDK/DriverKit/c++/driver_base.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/libDDK/DriverKit/c++/ddk.h b/src/libDDK/DriverKit/c++/ddk.h
index 2c83f935..d8576a57 100644
--- a/src/libDDK/DriverKit/c++/ddk.h
+++ b/src/libDDK/DriverKit/c++/ddk.h
@@ -9,5 +9,5 @@
#pragma once
+#include <DriverKit/c++/checksum.h>
#include <DriverKit/c++/driver_base.h>
-#include <DriverKit/c++/checksum.h>
diff --git a/src/libDDK/DriverKit/c++/driver_base.h b/src/libDDK/DriverKit/c++/driver_base.h
index 89cc04d8..a0c22216 100644
--- a/src/libDDK/DriverKit/c++/driver_base.h
+++ b/src/libDDK/DriverKit/c++/driver_base.h
@@ -29,10 +29,10 @@ class IDriverBase {
using PtrType = VoidPtr;
- virtual BOOL IsCastable() { return NO; }
- virtual constexpr BOOL IsActive() { return NO; }
- virtual PtrType Leak() { return nullptr; }
- virtual constexpr Int32 Type() { return 0; }
+ virtual BOOL IsCastable() { return NO; }
+ virtual constexpr BOOL IsActive() { return NO; }
+ virtual PtrType Leak() { return nullptr; }
+ virtual constexpr Int32 Type() { return 0; }
};
/// @brief This concept requires the Driver to be IDriverBase compliant.
@@ -43,6 +43,6 @@ concept IsValidDriver = requires(T a) {
/// @brief Consteval helper to detect whether a template is truly based on IDriverBase.
/// @note This helper is consteval only.
-template<IsValidDriver T>
+template <IsValidDriver T>
inline consteval void ce_ddk_is_valid(T) {}
} // namespace Kernel::DDK