Skip to content

Commit

Permalink
fix narrowing cast
Browse files Browse the repository at this point in the history
  • Loading branch information
DoDoENT committed Jan 2, 2024
1 parent 07af4bd commit 72e45da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kwk/detail/sequence/prefilled.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace kwk::__
if constexpr(is_fully_dynamic)
{
using kwk::extent;
static_cast<storage_type&>(*this) = storage_type{extent(vs)...};
static_cast<storage_type&>(*this) = storage_type{stored_t<decltype(D)>(extent(vs))...};
}
else
{
Expand Down

0 comments on commit 72e45da

Please sign in to comment.