std::optional::operator*, which follows after the changed line, can cause UB.
This PR addresses #26262 (comment)
minisketch_tests.cpp
#26272
std::optional::operator*, which follows after the changed line, can cause UB.
This PR addresses #26262 (comment)
ACK 97007e2b9b7a578315df2b1549cd6075130e8f05
dec should never be dereferenced if has_value() is not true.
BOOST_CHECK should still print the failure, making the UB more obvious, but this can’t hurt.
LGTM
Labels
Tests