From f651858b579138d5df0f89363879825513ece227 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 18 Dec 2025 19:38:22 +0100 Subject: chore: MKFS library improvements on documentation. Signed-off-by: Amlal El Mahrouss --- src/libDDK/DriverKit/c++/driver_base.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/libDDK/DriverKit/c++') diff --git a/src/libDDK/DriverKit/c++/driver_base.h b/src/libDDK/DriverKit/c++/driver_base.h index 683969f3..002cd768 100644 --- a/src/libDDK/DriverKit/c++/driver_base.h +++ b/src/libDDK/DriverKit/c++/driver_base.h @@ -31,9 +31,9 @@ class IDriverBase { using PtrType = void*; - virtual constexpr bool IsCastable() { return false; } - virtual constexpr bool IsActive() { return false; } - virtual PtrType Leak() { return nullptr; } + virtual constexpr bool IsCastable() { return false; } + virtual constexpr bool IsActive() { return false; } + virtual PtrType Leak() { return nullptr; } virtual constexpr int32_t Type() { return kInvalidType; } }; @@ -46,5 +46,7 @@ concept IsValidDriver = requires(Driver driver_base) { /// @brief Consteval helper to detect whether a template is truly based on IDriverBase. /// @note This helper is consteval only. template -inline bool ce_ddk_is_valid(Driver drv) { return IsValidDriver(drv); } +inline bool ce_ddk_is_valid(Driver drv) { + return IsValidDriver(drv); +} } // namespace Kernel::DDK -- cgit v1.2.3