Skip to content

Commit

Permalink
Fix clang-tidy findings
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Oct 24, 2024
1 parent 52d8476 commit d87a8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/pq/binary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace tao::pq
[[nodiscard]] auto to_binary( const T* data, const std::size_t size ) -> binary
{
static_assert( sizeof( T ) == 1 );
auto* ptr = reinterpret_cast< const std::byte* >( data );
const auto* ptr = reinterpret_cast< const std::byte* >( data );
return { ptr, ptr + size };
}

Expand Down

0 comments on commit d87a8df

Please sign in to comment.