From fa572a365e4bf3c55a9e62f57551b2392546edbe Mon Sep 17 00:00:00 2001 From: KRM7 <70973547+KRM7@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:39:39 +0200 Subject: [PATCH] fix clang tidy warnings --- src/utility/small_vector.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utility/small_vector.hpp b/src/utility/small_vector.hpp index dcbaea20..999ed993 100644 --- a/src/utility/small_vector.hpp +++ b/src/utility/small_vector.hpp @@ -18,7 +18,7 @@ #include #include -// NOLINTBEGIN(*pointer-arithmetic) +// NOLINTBEGIN(*pointer-arithmetic, *union-access) namespace gapp::detail { @@ -302,8 +302,8 @@ namespace gapp::detail struct small_vector_buffer { public: - constexpr small_vector_buffer() noexcept {}; - constexpr ~small_vector_buffer() noexcept {}; + constexpr small_vector_buffer() noexcept {}; // NOLINT(*default) + constexpr ~small_vector_buffer() noexcept {}; // NOLINT(*default) constexpr auto begin() noexcept { return data_.data(); } constexpr auto begin() const noexcept { return data_.data(); } @@ -1076,6 +1076,6 @@ namespace gapp } // namespace gapp -// NOLINTEND(*pointer-arithmetic) +// NOLINTEND(*pointer-arithmetic, *union-access) #endif // !GAPP_UTILITY_SMALL_VECTOR_HPP