diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 6cca237e..b0fa97d0 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1570,6 +1570,7 @@ private: struct erase_on_exit { + erase_on_exit(table& x_,iterator it_):x{x_},it{it_}{} ~erase_on_exit(){if(!rollback_)x.erase(it);} void rollback(){rollback_=true;}