Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81735 - trunk/boost/lockfree/detail
From: tim_at_[hidden]
Date: 2012-12-06 07:35:22


Author: timblechmann
Date: 2012-12-06 07:35:21 EST (Thu, 06 Dec 2012)
New Revision: 81735
URL: http://svn.boost.org/trac/boost/changeset/81735

Log:
lockfree: no capacity means capacity of 0
Text files modified:
   trunk/boost/lockfree/detail/parameter.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/lockfree/detail/parameter.hpp
==============================================================================
--- trunk/boost/lockfree/detail/parameter.hpp (original)
+++ trunk/boost/lockfree/detail/parameter.hpp 2012-12-06 07:35:21 EST (Thu, 06 Dec 2012)
@@ -10,7 +10,6 @@
 #define BOOST_LOCKFREE_DETAIL_PARAMETER_HPP
 
 #include <boost/lockfree/policies.hpp>
-#include <boost/integer_traits.hpp>
 
 namespace boost {
 namespace lockfree {
@@ -33,7 +32,7 @@
 
     typedef typename mpl::if_c<has_capacity,
                                typename has_arg<bound_args, tag::capacity>::type,
- mpl::size_t< boost::integer_traits<size_t>::const_max >
+ mpl::size_t< 0 >
>::type capacity_t;
 
     static const std::size_t capacity = capacity_t::value;


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