diff options
| author | Marcel Braun <marcel.braun@ost.ch> | 2026-03-17 22:44:22 +0100 |
|---|---|---|
| committer | Marcel Braun <marcel.braun@ost.ch> | 2026-03-17 22:44:22 +0100 |
| commit | b3538509091a59cd945ff48509ece5a97c59071d (patch) | |
| tree | c28015a0f74c31a7a27063fa8765b59d5b326c5c /kapi | |
| parent | e4291ea7c01cad04a02ca3f577dba9ccbadad110 (diff) | |
| parent | d2e7a4e2fd5a2973b6c9071951eaf8b2d24d84a3 (diff) | |
| download | teachos-b3538509091a59cd945ff48509ece5a97c59071d.tar.xz teachos-b3538509091a59cd945ff48509ece5a97c59071d.zip | |
Merge branch 'fmorgner/lint-fixes' into 'develop-BA-FS26'
lint: fix some issues detected by clang-tidy
See merge request teachos/kernel!13
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/include/kapi/boot_module/boot_module.hpp | 4 | ||||
| -rw-r--r-- | kapi/include/kapi/memory/address.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kapi/include/kapi/boot_module/boot_module.hpp b/kapi/include/kapi/boot_module/boot_module.hpp index 729efc9..85a1ac5 100644 --- a/kapi/include/kapi/boot_module/boot_module.hpp +++ b/kapi/include/kapi/boot_module/boot_module.hpp @@ -14,9 +14,9 @@ namespace kapi::boot_modules // ! its name, virtual start address, and size. struct boot_module { - std::string_view name; + std::string_view name{}; memory::linear_address start_address{}; - size_t size; + std::size_t size{}; }; } // namespace kapi::boot_modules diff --git a/kapi/include/kapi/memory/address.hpp b/kapi/include/kapi/memory/address.hpp index 3bef358..69fc7b9 100644 --- a/kapi/include/kapi/memory/address.hpp +++ b/kapi/include/kapi/memory/address.hpp @@ -33,7 +33,7 @@ namespace kapi::memory struct address { //! Construct a null-address. - constexpr explicit address() noexcept = default; + constexpr address() noexcept = default; //! Construct an address representing the given value. //! |
