aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kapi')
-rw-r--r--kernel/kapi/devices/driver.tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kapi/devices/driver.tests.cpp b/kernel/kapi/devices/driver.tests.cpp
index ea351cca..dcf26336 100644
--- a/kernel/kapi/devices/driver.tests.cpp
+++ b/kernel/kapi/devices/driver.tests.cpp
@@ -76,14 +76,14 @@ namespace
struct leaf_identification
{
- constexpr kapi::devices::interface_id static id{"stacking_test_leaf_identification"};
+ constexpr auto static id = kapi::devices::interface_id{"stacking_test_leaf_identification"};
virtual ~leaf_identification() = default;
[[nodiscard]] virtual auto leaf_name() const -> std::string_view = 0;
};
struct leaf_driver_identification
{
- constexpr kapi::devices::interface_id static id{"stacking_test_leaf_driver_identification"};
+ constexpr auto static id = kapi::devices::interface_id{"stacking_test_leaf_driver_identification"};
virtual ~leaf_driver_identification() = default;
[[nodiscard]] virtual auto supported_names() const -> std::span<std::string_view const> = 0;
};