From 6b44f3b8870d78db6dbe35080521b1cfe07b9e3f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 7 May 2012 18:09:25 +0000 Subject: [PATCH] Unordered: Fix destroy to match construct in last commit. [SVN r78368] --- include/boost/unordered/detail/allocator_helpers.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/allocator_helpers.hpp b/include/boost/unordered/detail/allocator_helpers.hpp index 5cce480c..34eec1bd 100644 --- a/include/boost/unordered/detail/allocator_helpers.hpp +++ b/include/boost/unordered/detail/allocator_helpers.hpp @@ -472,7 +472,8 @@ namespace boost { namespace unordered { namespace detail { #endif -#if defined(BOOST_UNORDERED_VARIADIC_MOVE) +#if BOOST_UNORDERED_DETAIL_FULL_CONSTRUCT + template static typename boost::enable_if_c< boost::unordered::detail::has_destroy::value>::type