From e107bcdef25c1803a96f0e09a21b06da841da1dd Mon Sep 17 00:00:00 2001 From: Sascha Zelzer Date: Thu, 15 Sep 2016 13:00:23 +0200 Subject: [PATCH] Use NOEXCEPT macro for VS2013 compatibility. --- tz.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tz.h b/tz.h index 2f17df4..eec9ed9 100644 --- a/tz.h +++ b/tz.h @@ -1124,7 +1124,7 @@ public: using time_point = std::chrono::time_point; static const bool is_steady = true; - static time_point now() noexcept; + static time_point now() NOEXCEPT; template static @@ -1181,7 +1181,7 @@ to_tai_time(utc_time t) inline tai_clock::time_point -tai_clock::now() noexcept +tai_clock::now() NOEXCEPT { using namespace std::chrono; return to_tai_time(utc_clock::now()); @@ -1209,7 +1209,7 @@ public: using time_point = std::chrono::time_point; static const bool is_steady = true; - static time_point now() noexcept; + static time_point now() NOEXCEPT; template static @@ -1266,7 +1266,7 @@ to_gps_time(utc_time t) inline gps_clock::time_point -gps_clock::now() noexcept +gps_clock::now() NOEXCEPT { using namespace std::chrono; return to_gps_time(utc_clock::now());