From 239453bead50b0fc5f831b659987a3477882ae35 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 23 Nov 2013 11:43:19 +0000 Subject: [PATCH] Fix unordered on Sun 5.12 compiler. Refs #9424. [SVN r86792] --- include/boost/unordered/detail/allocate.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/unordered/detail/allocate.hpp b/include/boost/unordered/detail/allocate.hpp index 51b11f62..bca63e6a 100644 --- a/include/boost/unordered/detail/allocate.hpp +++ b/include/boost/unordered/detail/allocate.hpp @@ -880,7 +880,7 @@ namespace boost { namespace unordered { namespace detail { namespace func { # define BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE(n, namespace_) \ template \ void construct_from_tuple_impl( \ - boost::unordered::detail::length<0>, Alloc&, T* ptr, \ + boost::unordered::detail::func::length<0>, Alloc&, T* ptr, \ namespace_ tuple<>) \ { \ new ((void*) ptr) T(); \ @@ -893,7 +893,7 @@ namespace boost { namespace unordered { namespace detail { namespace func { template \ void construct_from_tuple_impl( \ - boost::unordered::detail::length, Alloc&, T* ptr, \ + boost::unordered::detail::func::length, Alloc&, T* ptr, \ namespace_ tuple const& x) \ { \ new ((void*) ptr) T( \ @@ -922,7 +922,7 @@ BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE(10, boost::) void construct_from_tuple(Alloc& alloc, T* ptr, Tuple const& x) { construct_from_tuple_impl( - boost::unordered::detail::length< + boost::unordered::detail::func::length< boost::tuples::length::value>(), alloc, ptr, x); }