Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77043 - trunk/libs/unordered/test/unordered
From: dnljms_at_[hidden]
Date: 2012-02-16 15:53:45


Author: danieljames
Date: 2012-02-16 15:53:45 EST (Thu, 16 Feb 2012)
New Revision: 77043
URL: http://svn.boost.org/trac/boost/changeset/77043

Log:
Unordered: Remove unnecessary `typename`.

Oddly, newer versions of gcc don't complain about it.
Text files modified:
   trunk/libs/unordered/test/unordered/allocator_traits.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/unordered/test/unordered/allocator_traits.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/allocator_traits.cpp (original)
+++ trunk/libs/unordered/test/unordered/allocator_traits.cpp 2012-02-16 15:53:45 EST (Thu, 16 Feb 2012)
@@ -129,10 +129,10 @@
     typedef allocator1<int> allocator;
     typedef boost::unordered::detail::allocator_traits<allocator> traits;
 #if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS == 1
- BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type,
+ BOOST_MPL_ASSERT((boost::is_same<traits::size_type,
         std::make_unsigned<std::ptrdiff_t>::type>));
 #else
- BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type, std::size_t>));
+ BOOST_MPL_ASSERT((boost::is_same<traits::size_type, std::size_t>));
 #endif
     BOOST_MPL_ASSERT((boost::is_same<traits::difference_type, std::ptrdiff_t>));
     BOOST_MPL_ASSERT((boost::is_same<traits::pointer, int*>));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk