Skip to content

Commit

Permalink
Initialize FixedVector
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Mar 2, 2024
1 parent b3bba04 commit 795dd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fixed_containers/fixed_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class FixedVectorBase
public:
constexpr FixedVectorBase() noexcept
: IMPLEMENTATION_DETAIL_DO_NOT_USE_size_{0}
// Don't initialize the array
, IMPLEMENTATION_DETAIL_DO_NOT_USE_array_{}
{
// A constexpr context requires everything to be initialized.
// The OptionalStorage wrapper takes care of that, but for unwrapped objects
Expand Down

0 comments on commit 795dd63

Please sign in to comment.