diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 1c080d08..d65d07a2 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1659,8 +1659,6 @@ private: template struct destroy_on_exit { - using type_policy=TypePolicy; - Allocator &a; T *p; ~destroy_on_exit(){type_policy::destroy(a,p);};