|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51945 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2009-03-23 13:54:49
Author: ramey
Date: 2009-03-23 13:54:49 EDT (Mon, 23 Mar 2009)
New Revision: 51945
URL: http://svn.boost.org/trac/boost/changeset/51945
Log:
correction for some SUN compilers
Text files modified:
trunk/boost/serialization/variant.hpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: trunk/boost/serialization/variant.hpp
==============================================================================
--- trunk/boost/serialization/variant.hpp (original)
+++ trunk/boost/serialization/variant.hpp 2009-03-23 13:54:49 EDT (Mon, 23 Mar 2009)
@@ -81,7 +81,7 @@
Archive & /*ar*/,
int /*which*/,
V & /*v*/,
- unsigned int /*version*/
+ const unsigned int /*version*/
){}
};
@@ -91,7 +91,7 @@
Archive & ar,
int which,
V & v,
- unsigned int version
+ const unsigned int version
){
if(which == 0){
// note: A non-intrusive implementation (such as this one)
@@ -115,7 +115,7 @@
Archive & ar,
int which,
V & v,
- unsigned int version
+ const unsigned int version
){
typedef BOOST_DEDUCED_TYPENAME mpl::eval_if<mpl::empty<S>,
mpl::identity<load_null>,
@@ -130,7 +130,7 @@
void load(
Archive & ar,
boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>& v,
- unsigned int version
+ const unsigned int version
){
int which;
typedef BOOST_DEDUCED_TYPENAME boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>::types types;
@@ -149,7 +149,7 @@
inline void serialize(
Archive & ar,
boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> & v,
- unsigned int file_version
+ const unsigned int file_version
){
split_free(ar,v,file_version);
}
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