|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65064 - sandbox/chrono/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2010-08-28 03:50:09
Author: viboes
Date: 2010-08-28 03:50:05 EDT (Sat, 28 Aug 2010)
New Revision: 65064
URL: http://svn.boost.org/trac/boost/changeset/65064
Log:
remove warning ;; with -pedantic
Text files modified:
sandbox/chrono/boost/chrono/t24_hours.hpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: sandbox/chrono/boost/chrono/t24_hours.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/t24_hours.hpp (original)
+++ sandbox/chrono/boost/chrono/t24_hours.hpp 2010-08-28 03:50:05 EDT (Sat, 28 Aug 2010)
@@ -32,27 +32,27 @@
template <class Rep, class Period>
static days get_days(const boost::chrono::duration<Rep, Period>& d) {
return boost::chrono::duration_cast<days>(d);
- };
+ }
template <class Rep, class Period>
static hours get_hours(const boost::chrono::duration<Rep, Period>& d) {
return boost::chrono::duration_cast<hours>(d % days(1));
- };
+ }
template <class Rep, class Period>
static minutes get_minutes(const boost::chrono::duration<Rep, Period>& d) {
return boost::chrono::duration_cast<minutes>(d % hours(1));
- };
+ }
template <class Rep, class Period>
static seconds get_seconds(const boost::chrono::duration<Rep, Period>& d) {
return boost::chrono::duration_cast<seconds>(d % minutes(1));
- };
+ }
template <class Rep, class Period>
static nanoseconds get_nanoseconds(const boost::chrono::duration<Rep, Period>& d) {
return boost::chrono::duration_cast<nanoseconds>(d % seconds(1));
- };
+ }
template <class Rep, class Period>
explicit t24_hours(const boost::chrono::duration<Rep, Period>& d)
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