Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Conversation

@1uc
Copy link
Collaborator

@1uc 1uc commented Nov 30, 2023

A bug in inspected::prepare left the elements of an std::array as default allocated. This fails when putting an std::vector inside an std::array, because the std::vectors need to be allocated with the appropriate length.

A bug in `inspected::prepare` left the elements of an `std::array` as
default allocated. This fails when putting an `std::vector` inside an
`std::array`, because the `std::vector`s need to be allocated with the
appropriate length.
@1uc 1uc force-pushed the 1uc/array-vector branch from 5893f9e to c8b4053 Compare November 30, 2023 09:16
@1uc
Copy link
Collaborator Author

1uc commented Nov 30, 2023

Fixes #875 more rigorous testing coming via #871.

@codecov
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8bf74a) 84.89% compared to head (c8b4053) 84.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #877      +/-   ##
==========================================
+ Coverage   84.89%   84.94%   +0.05%     
==========================================
  Files          70       70              
  Lines        5090     5109      +19     
==========================================
+ Hits         4321     4340      +19     
  Misses        769      769              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@1uc 1uc marked this pull request as ready for review November 30, 2023 09:57
Copy link
Member

@alkino alkino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@1uc 1uc merged commit 6cc408d into master Nov 30, 2023
@1uc 1uc deleted the 1uc/array-vector branch November 30, 2023 10:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants