diff --git a/include/boost/unordered/detail/foa/table.hpp b/include/boost/unordered/detail/foa/table.hpp index 9fc94d39..07fa0c58 100644 --- a/include/boost/unordered/detail/foa/table.hpp +++ b/include/boost/unordered/detail/foa/table.hpp @@ -296,7 +296,7 @@ public: type_policy::construct(this->al(),p,std::forward(args)...); - destroy_on_exit guard{this->al(),p}; + typename destroy_on_exit guard{this->al(),p}; return emplace_impl(type_policy::move(*p)); } @@ -417,8 +417,6 @@ public: } private: - using super::destroy_on_exit; - struct erase_on_exit { erase_on_exit(table& x_,const_iterator it_):x{x_},it{it_}{}