summaryrefslogtreecommitdiff
path: root/boost/date_time/posix_time/posix_time_duration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/date_time/posix_time/posix_time_duration.hpp')
-rw-r--r--boost/date_time/posix_time/posix_time_duration.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/date_time/posix_time/posix_time_duration.hpp b/boost/date_time/posix_time/posix_time_duration.hpp
index c7ec57e8aa..c69236faeb 100644
--- a/boost/date_time/posix_time/posix_time_duration.hpp
+++ b/boost/date_time/posix_time/posix_time_duration.hpp
@@ -27,7 +27,7 @@ namespace posix_time {
public:
template <typename T>
explicit hours(T const& h,
- typename boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
+ typename boost::enable_if<boost::is_integral<T>, void>::type* = BOOST_DATE_TIME_NULLPTR) :
time_duration(numeric_cast<hour_type>(h), 0, 0)
{}
};
@@ -41,7 +41,7 @@ namespace posix_time {
public:
template <typename T>
explicit minutes(T const& m,
- typename boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
+ typename boost::enable_if<boost::is_integral<T>, void>::type* = BOOST_DATE_TIME_NULLPTR) :
time_duration(0, numeric_cast<min_type>(m),0)
{}
};
@@ -55,7 +55,7 @@ namespace posix_time {
public:
template <typename T>
explicit seconds(T const& s,
- typename boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
+ typename boost::enable_if<boost::is_integral<T>, void>::type* = BOOST_DATE_TIME_NULLPTR) :
time_duration(0,0, numeric_cast<sec_type>(s))
{}
};