Skip to content

Commit

Permalink
fix clang tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
KRM7 committed Sep 1, 2024
1 parent 889ea1b commit fa572a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utility/small_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <cstdlib>
#include <cstddef>

// NOLINTBEGIN(*pointer-arithmetic)
// NOLINTBEGIN(*pointer-arithmetic, *union-access)

namespace gapp::detail
{
Expand Down Expand Up @@ -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(); }
Expand Down Expand Up @@ -1076,6 +1076,6 @@ namespace gapp

} // namespace gapp

// NOLINTEND(*pointer-arithmetic)
// NOLINTEND(*pointer-arithmetic, *union-access)

#endif // !GAPP_UTILITY_SMALL_VECTOR_HPP

0 comments on commit fa572a3

Please sign in to comment.