diff options
Diffstat (limited to 'src/libDDK/DriverKit/c++/driver_base.h')
| -rw-r--r-- | src/libDDK/DriverKit/c++/driver_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
