Update of /cvsroot/boost/boost/boost/date_time/posix_time
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9477/boost/date_time/posix_time
Modified Files:
time_serialize.hpp
Log Message:
Remove unused variables from serialization code to prevent warnings
Index: time_serialize.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/date_time/posix_time/time_serialize.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- time_serialize.hpp 21 Jun 2005 03:33:15 -0000 1.7
+++ time_serialize.hpp 2 Mar 2007 02:50:49 -0000 1.8
@@ -35,7 +35,7 @@
template<class Archive>
void save(Archive & ar,
const posix_time::time_duration& td,
- unsigned int version)
+ unsigned int /*version*/)
{
// serialize a bool so we know how to read this back in later
bool is_special = td.is_special();
@@ -64,7 +64,7 @@
template<class Archive>
void load(Archive & ar,
posix_time::time_duration & td,
- unsigned int version)
+ unsigned int /*version*/)
{
bool is_special = false;
ar & make_nvp("is_special", is_special);
@@ -99,7 +99,7 @@
template<class Archive>
void save(Archive & ar,
const posix_time::ptime& pt,
- unsigned int version)
+ unsigned int /*version*/)
{
// from_iso_string does not include fractional seconds
// therefore date and time_duration are used
@@ -118,7 +118,7 @@
template<class Archive>
void load(Archive & ar,
posix_time::ptime & pt,
- unsigned int version)
+ unsigned int /*version*/)
{
// from_iso_string does not include fractional seconds
// therefore date and time_duration are used
@@ -139,7 +139,7 @@
template<class Archive>
inline void load_construct_data(Archive & ar,
posix_time::ptime* pt,
- const unsigned int file_version)
+ const unsigned int /*file_version*/)
{
// retrieve data from archive required to construct new
// invoke inplace constructor to initialize instance of date
@@ -155,7 +155,7 @@
template<class Archive>
void save(Archive & ar,
const posix_time::time_period& tp,
- unsigned int version)
+ unsigned int /*version*/)
{
posix_time::ptime beg(tp.begin().date(), tp.begin().time_of_day());
posix_time::ptime end(tp.end().date(), tp.end().time_of_day());
@@ -170,7 +170,7 @@
template<class Archive>
void load(Archive & ar,
boost::posix_time::time_period & tp,
- unsigned int version)
+ unsigned int /*version*/)
{
posix_time::time_duration td(1,0,0);
gregorian::date d(gregorian::not_a_date_time);
@@ -185,7 +185,7 @@
template<class Archive>
inline void load_construct_data(Archive & ar,
boost::posix_time::time_period* tp,
- const unsigned int file_version)
+ const unsigned int /*file_version*/)
{
posix_time::time_duration td(1,0,0);
gregorian::date d(gregorian::not_a_date_time);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs