aboutsummaryrefslogtreecommitdiff
path: root/libs/multiboot2
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-12-22 14:53:33 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-12-22 14:53:33 +0100
commitb4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4 (patch)
tree3730f8ea9c880d97e3a63426fac9939976c39921 /libs/multiboot2
parent5c01134b95fc83b485720c3d06ef0284e4ba8568 (diff)
downloadteachos-b4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4.tar.xz
teachos-b4ff67c8a9bebd99eb3c06ea141fe0f1b8feb5a4.zip
chore: clean up linter warnings
Diffstat (limited to 'libs/multiboot2')
-rw-r--r--libs/multiboot2/include/multiboot2/impl/tag.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/multiboot2/include/multiboot2/impl/tag.hpp b/libs/multiboot2/include/multiboot2/impl/tag.hpp
index 3d0cea5..708cda4 100644
--- a/libs/multiboot2/include/multiboot2/impl/tag.hpp
+++ b/libs/multiboot2/include/multiboot2/impl/tag.hpp
@@ -29,7 +29,6 @@ namespace multiboot2::impl
[[nodiscard]] auto full_size() const noexcept -> std::size_t
{
- // NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)
return (m_size + 7) & (~7);
}
@@ -67,7 +66,7 @@ namespace multiboot2::impl
explicit tag(tag_header const * header)
requires(sizeof(tag) > sizeof(tag_header))
: tag_header{header}
- , Data{*std::bit_cast<Data const *>(header + 1)} // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic)
+ , Data{*std::bit_cast<Data const *>(header + 1)}
{}
explicit tag(tag_header const * header)