Closed Quuxplusone closed 2 years ago
Adds some needless NULL checking for a use-case that shouldn't happen in real code, but implemented in beta.
On 23/04/2022 4:42 am, Quuxplusone wrote:
|#include "plf_hive.h" #include
int main() { plf::hive h; bool success = (h.rbegin().base() == h.end()); assert(success); }|
This program hits an assertion inside the implementation of
plf::hive
; and then if you remove the assertion withNDEBUG
, it just segfaults.