|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-08-03 06:09:21
Author: jurko
Date: 2008-08-03 06:09:21 EDT (Sun, 03 Aug 2008)
New Revision: 47957
URL: http://svn.boost.org/trac/boost/changeset/47957
Log:
Worked around two unused function parameter compiler warnings. Suggested by Peter Klotz.
Text files modified:
trunk/boost/date_time/time.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/date_time/time.hpp
==============================================================================
--- trunk/boost/date_time/time.hpp (original)
+++ trunk/boost/date_time/time.hpp 2008-08-03 06:09:21 EDT (Sun, 03 Aug 2008)
@@ -77,14 +77,14 @@
/*! Optional bool parameter will return time zone as an offset
* (ie "+07:00"). Empty string is returned for classes that do
* not use a time_zone */
- std::string zone_name(bool as_offset=false) const
+ std::string zone_name(bool /*as_offset*/=false) const
{
return time_system::zone_name(time_);
}
/*! Optional bool parameter will return time zone as an offset
* (ie "+07:00"). Empty string is returned for classes that do
* not use a time_zone */
- std::string zone_abbrev(bool as_offset=false) const
+ std::string zone_abbrev(bool /*as_offset*/=false) const
{
return time_system::zone_name(time_);
}
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