Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80816 - in branches/release/boost/bimap: . detail relation
From: matias.capeletto_at_[hidden]
Date: 2012-10-02 09:16:41


Author: matias
Date: 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
New Revision: 80816
URL: http://svn.boost.org/trac/boost/changeset/80816

Log:
Merge unused parameters fix to release
Properties modified:
   branches/release/boost/bimap/ (props changed)
Text files modified:
   branches/release/boost/bimap/bimap.hpp | 2 +-
   branches/release/boost/bimap/detail/map_view_base.hpp | 2 +-
   branches/release/boost/bimap/detail/map_view_iterator.hpp | 8 ++++----
   branches/release/boost/bimap/detail/set_view_iterator.hpp | 8 ++++----
   branches/release/boost/bimap/relation/mutant_relation.hpp | 4 ++--
   5 files changed, 12 insertions(+), 12 deletions(-)

Modified: branches/release/boost/bimap/bimap.hpp
==============================================================================
--- branches/release/boost/bimap/bimap.hpp (original)
+++ branches/release/boost/bimap/bimap.hpp 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
@@ -382,7 +382,7 @@
     friend class boost::serialization::access;
 
     template<class Archive>
- void serialize(Archive & ar, const unsigned int version)
+ void serialize(Archive & ar, const unsigned int)
     {
         ar & serialization::make_nvp("mi_core",core);
     }

Modified: branches/release/boost/bimap/detail/map_view_base.hpp
==============================================================================
--- branches/release/boost/bimap/detail/map_view_base.hpp (original)
+++ branches/release/boost/bimap/detail/map_view_base.hpp 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
@@ -355,7 +355,7 @@
     }
 
     template< class CompatibleKey >
- data_type_ & operator[](const CompatibleKey& k)
+ data_type_ & operator[](const CompatibleKey&)
     {
         BOOST_BIMAP_STATIC_ERROR( OPERATOR_BRACKET_IS_NOT_SUPPORTED, (Derived));
     }

Modified: branches/release/boost/bimap/detail/map_view_iterator.hpp
==============================================================================
--- branches/release/boost/bimap/detail/map_view_iterator.hpp (original)
+++ branches/release/boost/bimap/detail/map_view_iterator.hpp 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
@@ -97,13 +97,13 @@
     friend class ::boost::serialization::access;
 
     template< class Archive >
- void save(Archive & ar, const unsigned int version) const
+ void save(Archive & ar, const unsigned int) const
     {
         ar << ::boost::serialization::make_nvp("mi_iterator",this->base());
     }
 
     template< class Archive >
- void load(Archive & ar, const unsigned int version)
+ void load(Archive & ar, const unsigned int)
     {
         CoreIterator iter;
         ar >> ::boost::serialization::make_nvp("mi_iterator",iter);
@@ -178,13 +178,13 @@
     friend class ::boost::serialization::access;
 
     template< class Archive >
- void save(Archive & ar, const unsigned int version) const
+ void save(Archive & ar, const unsigned int) const
     {
         ar << ::boost::serialization::make_nvp("mi_iterator",this->base());
     }
 
     template< class Archive >
- void load(Archive & ar, const unsigned int version)
+ void load(Archive & ar, const unsigned int)
     {
         CoreIterator iter;
         ar >> ::boost::serialization::make_nvp("mi_iterator",iter);

Modified: branches/release/boost/bimap/detail/set_view_iterator.hpp
==============================================================================
--- branches/release/boost/bimap/detail/set_view_iterator.hpp (original)
+++ branches/release/boost/bimap/detail/set_view_iterator.hpp 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
@@ -95,13 +95,13 @@
     friend class ::boost::serialization::access;
 
     template< class Archive >
- void save(Archive & ar, const unsigned int version) const
+ void save(Archive & ar, const unsigned int) const
     {
         ar << ::boost::serialization::make_nvp("mi_iterator",this->base());
     }
 
     template< class Archive >
- void load(Archive & ar, const unsigned int version)
+ void load(Archive & ar, const unsigned int)
     {
         CoreIterator iter;
         ar >> ::boost::serialization::make_nvp("mi_iterator",iter);
@@ -171,13 +171,13 @@
     friend class ::boost::serialization::access;
 
     template< class Archive >
- void save(Archive & ar, const unsigned int version) const
+ void save(Archive & ar, const unsigned int) const
     {
         ar << ::boost::serialization::make_nvp("mi_iterator",this->base());
     }
 
     template< class Archive >
- void load(Archive & ar, const unsigned int version)
+ void load(Archive & ar, const unsigned int)
     {
         CoreIterator iter;
         ar >> ::boost::serialization::make_nvp("mi_iterator",iter);

Modified: branches/release/boost/bimap/relation/mutant_relation.hpp
==============================================================================
--- branches/release/boost/bimap/relation/mutant_relation.hpp (original)
+++ branches/release/boost/bimap/relation/mutant_relation.hpp 2012-10-02 09:16:39 EDT (Tue, 02 Oct 2012)
@@ -142,7 +142,7 @@
 
     #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
     template< class Archive >
- void serialize(Archive & ar, const unsigned int version)
+ void serialize(Archive & ar, const unsigned int)
     {
         ar & ::boost::serialization::make_nvp("left" , base_::left );
         ar & ::boost::serialization::make_nvp("right", base_::right);
@@ -188,7 +188,7 @@
 
     #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
     template< class Archive >
- void serialize(Archive & ar, const unsigned int version)
+ void serialize(Archive & ar, const unsigned int)
     {
         ar & ::boost::serialization::make_nvp("left" , base_::left );
         ar & ::boost::serialization::make_nvp("right", base_::right);


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