From 09bddd8df4a833d1199a856967188900d6226ec8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 15 Apr 2017 17:35:08 +0100 Subject: [PATCH] Clear buckets before deleting nodes in clear. The order shouldn't really matter as nothing throws an exception, but it seems cleaner to never have any dangling pointers. --- include/boost/unordered/detail/implementation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 2a2f7c65..e51b0254 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -2925,8 +2925,8 @@ struct table : boost::unordered::detail::functions