Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Nov 5, 2024
1 parent e88c8bb commit 2696777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/pq/internal/resize_uninitialized.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace tao::pq::internal
static_assert( sizeof( std::vector< std::byte > ) == sizeof( std::vector< no_init_byte > ) );
static_assert( alignof( std::vector< std::byte > ) == alignof( std::vector< no_init_byte > ) );

[[maybe_unused]] void resize_uninitialized_proxy( std::vector< std::byte >& v, const std::size_t n ) noexcept
inline void resize_uninitialized_proxy( std::vector< std::byte >& v, const std::size_t n ) noexcept
{
// undefined behaviour?
reinterpret_cast< std::vector< no_init_byte >& >( v ).resize( n );
Expand Down

0 comments on commit 2696777

Please sign in to comment.