|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80807 - in trunk/boost/bimap: . detail relation
From: matias.capeletto_at_[hidden]
Date: 2012-10-01 10:34:39
Author: matias
Date: 2012-10-01 10:34:38 EDT (Mon, 01 Oct 2012)
New Revision: 80807
URL: http://svn.boost.org/trac/boost/changeset/80807
Log:
Fix unused parameter name warnings in Boost.Bimap, Fix #7425
Text files modified:
trunk/boost/bimap/bimap.hpp | 2 +-
trunk/boost/bimap/detail/map_view_base.hpp | 2 +-
trunk/boost/bimap/detail/map_view_iterator.hpp | 8 ++++----
trunk/boost/bimap/detail/set_view_iterator.hpp | 8 ++++----
trunk/boost/bimap/relation/mutant_relation.hpp | 4 ++--
5 files changed, 12 insertions(+), 12 deletions(-)
Modified: trunk/boost/bimap/bimap.hpp
==============================================================================
--- trunk/boost/bimap/bimap.hpp (original)
+++ trunk/boost/bimap/bimap.hpp 2012-10-01 10:34:38 EDT (Mon, 01 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: trunk/boost/bimap/detail/map_view_base.hpp
==============================================================================
--- trunk/boost/bimap/detail/map_view_base.hpp (original)
+++ trunk/boost/bimap/detail/map_view_base.hpp 2012-10-01 10:34:38 EDT (Mon, 01 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: trunk/boost/bimap/detail/map_view_iterator.hpp
==============================================================================
--- trunk/boost/bimap/detail/map_view_iterator.hpp (original)
+++ trunk/boost/bimap/detail/map_view_iterator.hpp 2012-10-01 10:34:38 EDT (Mon, 01 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: trunk/boost/bimap/detail/set_view_iterator.hpp
==============================================================================
--- trunk/boost/bimap/detail/set_view_iterator.hpp (original)
+++ trunk/boost/bimap/detail/set_view_iterator.hpp 2012-10-01 10:34:38 EDT (Mon, 01 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: trunk/boost/bimap/relation/mutant_relation.hpp
==============================================================================
--- trunk/boost/bimap/relation/mutant_relation.hpp (original)
+++ trunk/boost/bimap/relation/mutant_relation.hpp 2012-10-01 10:34:38 EDT (Mon, 01 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