Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74102 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-08-28 07:31:23


Author: danieljames
Date: 2011-08-28 07:31:23 EDT (Sun, 28 Aug 2011)
New Revision: 74102
URL: http://svn.boost.org/trac/boost/changeset/74102

Log:
Unordered: Try to avoid warning on sun.
Text files modified:
   trunk/boost/unordered/detail/util.hpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/boost/unordered/detail/util.hpp
==============================================================================
--- trunk/boost/unordered/detail/util.hpp (original)
+++ trunk/boost/unordered/detail/util.hpp 2011-08-28 07:31:23 EDT (Sun, 28 Aug 2011)
@@ -242,9 +242,8 @@
     template <class I>
     inline std::size_t insert_size(I i, I j)
     {
- BOOST_DEDUCED_TYPENAME ::boost::iterator_traversal<I>::type
- iterator_traversal_tag;
- return insert_size(i, j, iterator_traversal_tag);
+ return insert_size(i, j,
+ BOOST_DEDUCED_TYPENAME ::boost::iterator_traversal<I>::type());
     }
     
     template <class I>


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