Skip to content

Commit

Permalink
Work around -Wuse-after-free
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 3, 2023
1 parent 2471cfc commit 283705c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vendor/boost/container/stable_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ class stable_vector
}
BOOST_CATCH(...) {
praw->destroy_header();
this->priv_node_alloc().deallocate(p, 1);
// this->priv_node_alloc().deallocate(p, 1); // -Wuse-after-delete
BOOST_RETHROW
}
BOOST_CATCH_END
Expand Down

0 comments on commit 283705c

Please sign in to comment.