|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84618 - in trunk: boost/lockfree/detail libs/lockfree/test
From: tim_at_[hidden]
Date: 2013-06-03 05:48:48
Author: timblechmann
Date: 2013-06-03 05:48:47 EDT (Mon, 03 Jun 2013)
New Revision: 84618
URL: http://svn.boost.org/trac/boost/changeset/84618
Log:
lockfree: prevent warnings for unused arguments
Signed-off-by: Tim Blechmann <tim_at_[hidden]>
Text files modified:
trunk/boost/lockfree/detail/freelist.hpp | 2 +-
trunk/libs/lockfree/test/test_helpers.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/lockfree/detail/freelist.hpp
==============================================================================
--- trunk/boost/lockfree/detail/freelist.hpp (original)
+++ trunk/boost/lockfree/detail/freelist.hpp 2013-06-03 05:48:47 EDT (Mon, 03 Jun 2013)
@@ -319,7 +319,7 @@
// unused ... only for API purposes
template <typename Allocator>
- compiletime_sized_freelist_storage(Allocator const & alloc, std::size_t count)
+ compiletime_sized_freelist_storage(Allocator const & /* alloc */, std::size_t /* count */)
{}
T * nodes(void) const
Modified: trunk/libs/lockfree/test/test_helpers.hpp
==============================================================================
--- trunk/libs/lockfree/test/test_helpers.hpp (original)
+++ trunk/libs/lockfree/test/test_helpers.hpp 2013-06-03 05:48:47 EDT (Mon, 03 Jun 2013)
@@ -101,7 +101,7 @@
struct dummy_functor
{
- void operator()(int arg) const
+ void operator()(int /* arg */) const
{
}
};
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