|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83364 - trunk/boost/lockfree
From: tim_at_[hidden]
Date: 2013-03-08 10:28:37
Author: timblechmann
Date: 2013-03-08 10:28:36 EST (Fri, 08 Mar 2013)
New Revision: 83364
URL: http://svn.boost.org/trac/boost/changeset/83364
Log:
lockfree: msvc compile fix
Text files modified:
trunk/boost/lockfree/spsc_queue.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/lockfree/spsc_queue.hpp
==============================================================================
--- trunk/boost/lockfree/spsc_queue.hpp (original)
+++ trunk/boost/lockfree/spsc_queue.hpp 2013-03-08 10:28:36 EST (Fri, 08 Mar 2013)
@@ -692,9 +692,9 @@
* \note Thread-safe and non-blocking, if functor is thread-safe and non-blocking
* */
template <typename Functor>
- size_t consume_all(Functor & f)
+ size_type consume_all(Functor & f)
{
- size_t element_count = 0;
+ size_type element_count = 0;
while (consume_one(f))
element_count += 1;
@@ -703,9 +703,9 @@
/// \copydoc boost::lockfree::spsc_queue::consume_all(Functor & rhs)
template <typename Functor>
- size_t consume_all(Functor const & f)
+ size_type consume_all(Functor const & f)
{
- size_t element_count = 0;
+ size_type element_count = 0;
while (consume_one(f))
element_count += 1;
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