Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55921 - in trunk: boost/unordered/detail libs/unordered/test/unordered
From: daniel_james_at_[hidden]
Date: 2009-08-31 11:33:29


Author: danieljames
Date: 2009-08-31 11:33:28 EDT (Mon, 31 Aug 2009)
New Revision: 55921
URL: http://svn.boost.org/trac/boost/changeset/55921

Log:
Remove a few unused parameters.
Text files modified:
   trunk/boost/unordered/detail/insert.hpp | 2 +-
   trunk/boost/unordered/detail/manager.hpp | 4 ++--
   trunk/libs/unordered/test/unordered/Jamfile.v2 | 1 +
   3 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/unordered/detail/insert.hpp
==============================================================================
--- trunk/boost/unordered/detail/insert.hpp (original)
+++ trunk/boost/unordered/detail/insert.hpp 2009-08-31 11:33:28 EDT (Mon, 31 Aug 2009)
@@ -635,7 +635,7 @@
 
     template <class H, class P, class A, class K>
     inline bool hash_unique_table<H, P, A, K>
- ::group_equals(node_ptr it1, node_ptr it2, set_extractor*)
+ ::group_equals(node_ptr, node_ptr, set_extractor*)
     {
         return true;
     }

Modified: trunk/boost/unordered/detail/manager.hpp
==============================================================================
--- trunk/boost/unordered/detail/manager.hpp (original)
+++ trunk/boost/unordered/detail/manager.hpp 2009-08-31 11:33:28 EDT (Mon, 31 Aug 2009)
@@ -41,7 +41,7 @@
         : structure(), allocators_(h.allocators_) {}
 
     template <class A, class G>
- hash_table_manager<A, G>::hash_table_manager(hash_table_manager& x, move_tag m)
+ hash_table_manager<A, G>::hash_table_manager(hash_table_manager& x, move_tag)
         : structure(), allocators_(x.allocators_)
     {
         this->buckets_ = x.buckets_;
@@ -55,7 +55,7 @@
     }
 
     template <class A, class G>
- hash_table_manager<A, G>::hash_table_manager(hash_table_manager& x, value_allocator const& a, move_tag m) :
+ hash_table_manager<A, G>::hash_table_manager(hash_table_manager& x, value_allocator const& a, move_tag) :
          structure(), allocators_(a,a)
     {
         if(this->node_alloc() == x.node_alloc()) {

Modified: trunk/libs/unordered/test/unordered/Jamfile.v2
==============================================================================
--- trunk/libs/unordered/test/unordered/Jamfile.v2 (original)
+++ trunk/libs/unordered/test/unordered/Jamfile.v2 2009-08-31 11:33:28 EDT (Mon, 31 Aug 2009)
@@ -10,6 +10,7 @@
         <toolset>intel-linux:"<cxxflags>-strict_ansi -cxxlib-icc"
         <toolset>gcc:<cxxflags>"-Wsign-promo -Wunused-parameter"
         #<toolset>msvc:<cxxflags>/W4
+ <warnings>all
     ;
 
 test-suite unordered


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