diff options
Diffstat (limited to 'kernel/kapi')
| -rw-r--r-- | kernel/kapi/boot_module/bus.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/kapi/boot_module/bus.cpp b/kernel/kapi/boot_module/bus.cpp index 3e95a3ac..83c97f8e 100644 --- a/kernel/kapi/boot_module/bus.cpp +++ b/kernel/kapi/boot_module/bus.cpp @@ -20,8 +20,7 @@ namespace kapi::boot_modules { auto const text = std::string_view{token}; auto const equals = text.find('='); - if (equals != std::string_view::npos && text.substr(0, equals) == key && - text.substr(equals + 1, value.size()) == value) + if (equals != std::string_view::npos && text.substr(0, equals) == key && text.substr(equals + 1) == value) { return true; } |
