Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

Stephan noticed a move missing from a line of code that meant to move(as_const(rng)) while reviewing common_view. This bug (and for the most part, another similar bug nearby) came from the views::all test and propagated through all of the range adaptor tests.

Stephan noticed a `move` missing from a line of code that meant to `move(as_const(rng))` while reviewing `common_view`. This bug (and for the most part, another similar bug nearby) came from the `views::all` test and propagated through _all_ of the range adaptor tests.
@CaseyCarter CaseyCarter added the bug Something isn't working label Oct 23, 2020
@CaseyCarter
Copy link
Contributor Author

I've also audited the in-flight view adaptor tests and submitted correction comments.

@miscco
Copy link
Contributor

miscco commented Oct 23, 2020

Urgh sorry for not catching that. These tests are unfortunately too complex to be easily reviewable

@CaseyCarter CaseyCarter marked this pull request as ready for review October 23, 2020 16:51
@CaseyCarter CaseyCarter requested a review from a team as a code owner October 23, 2020 16:51
@CaseyCarter CaseyCarter added the ranges C++20/23 ranges label Oct 24, 2020
@StephanTLavavej StephanTLavavej self-assigned this Oct 29, 2020
@StephanTLavavej StephanTLavavej added test Related to test code and removed bug Something isn't working labels Oct 29, 2020
@StephanTLavavej StephanTLavavej merged commit 374736a into microsoft:master Oct 29, 2020
@StephanTLavavej
Copy link
Member

Thanks for fixing this test bug! 🪲

@CaseyCarter CaseyCarter deleted the move-as_const branch October 29, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ranges C++20/23 ranges test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants