From 847dcbf237360f15c5259d025aa56516223bf497 Mon Sep 17 00:00:00 2001 From: Austin Beer Date: Fri, 29 Sep 2017 15:28:04 -0600 Subject: [PATCH] Removed unnecessary explicit qualifiers. --- include/boost/thread/detail/timespec.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/thread/detail/timespec.hpp b/include/boost/thread/detail/timespec.hpp index 4b58ddb1..a3796ed0 100644 --- a/include/boost/thread/detail/timespec.hpp +++ b/include/boost/thread/detail/timespec.hpp @@ -164,13 +164,13 @@ namespace boost inline boost::intmax_t getNs() const { return dur.getNs(); } #if defined BOOST_THREAD_USES_DATETIME - explicit real_timespec_timepoint(boost::system_time const& abs_time) + real_timespec_timepoint(boost::system_time const& abs_time) : dur(abs_time - boost::posix_time::from_time_t(0)) {} #endif #if defined BOOST_THREAD_USES_CHRONO template - explicit real_timespec_timepoint(chrono::time_point const& abs_time) + real_timespec_timepoint(chrono::time_point const& abs_time) : dur(abs_time.time_since_epoch()) {} #endif @@ -260,7 +260,7 @@ namespace boost #if defined BOOST_THREAD_USES_CHRONO // This conversion assumes that chrono::steady_clock::time_point and mono_timespec_timepoint share the same epoch. template - explicit mono_timespec_timepoint(chrono::time_point const& abs_time) + mono_timespec_timepoint(chrono::time_point const& abs_time) : dur(abs_time.time_since_epoch()) {} #endif