aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
Diffstat (limited to 'kapi')
-rw-r--r--kapi/include/kapi/boot_module/boot_module.hpp4
-rw-r--r--kapi/include/kapi/memory/address.hpp2
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.
//!