summaryrefslogtreecommitdiff
path: root/boost/date_time/date_duration.hpp
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
committerChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
commit08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch)
tree7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/date_time/date_duration.hpp
parentbb4dd8289b351fae6b55e303f189127a394a1edd (diff)
downloadboost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/date_time/date_duration.hpp')
-rw-r--r--boost/date_time/date_duration.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/boost/date_time/date_duration.hpp b/boost/date_time/date_duration.hpp
index 7bd48fd2b7..f5b4b083d7 100644
--- a/boost/date_time/date_duration.hpp
+++ b/boost/date_time/date_duration.hpp
@@ -2,11 +2,11 @@
#define DATE_TIME_DATE_DURATION__
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
- * Use, modification and distribution is subject to the
+ * Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst
- * $Date: 2008-11-12 11:37:53 -0800 (Wed, 12 Nov 2008) $
+ * $Date$
*/
@@ -26,14 +26,14 @@ namespace date_time {
, boost::subtractable1< date_duration< duration_rep_traits >
, boost::dividable2< date_duration< duration_rep_traits >, int
> > > > >
- {
+ {
public:
typedef typename duration_rep_traits::int_type duration_rep_type;
typedef typename duration_rep_traits::impl_type duration_rep;
-
+
//! Construct from a day count
- explicit date_duration(duration_rep day_count) : days_(day_count) {};
-
+ explicit date_duration(duration_rep day_count) : days_(day_count) {}
+
/*! construct from special_values - only works when
* instantiated with duration_traits_adapted */
date_duration(special_values sv) :
@@ -125,7 +125,7 @@ namespace date_time {
{
typedef long int_type;
typedef long impl_type;
- static int_type as_number(impl_type i) { return i; };
+ static int_type as_number(impl_type i) { return i; }
};
/*! Struct for instantiating date_duration <b>WITH</b> special values
@@ -135,9 +135,9 @@ namespace date_time {
{
typedef long int_type;
typedef boost::date_time::int_adapter<long> impl_type;
- static int_type as_number(impl_type i) { return i.as_number(); };
+ static int_type as_number(impl_type i) { return i.as_number(); }
};
-
+
} } //namspace date_time