From 1ae21c6d1ad5246e7688e32b3d9a77bd8e4a55c0 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Mon, 6 Mar 2023 09:47:33 -0800 Subject: [PATCH] Remove extraneous typedef from destroy_on_exit --- include/boost/unordered/detail/foa.hpp | 2 -- 1 file changed, 2 deletions(-) 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);};