aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-08-13 23:47:05 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-08-13 23:47:05 +0300
commit8be8df07942833a49fc2898005793f8d3c630b43 (patch)
tree76764ee4c94a6bd3f566172008d3f23f8a77835a
parent77b7e132d724f31ae97a0438cc39fa87b39d968b (diff)
downloadydb-8be8df07942833a49fc2898005793f8d3c630b43.tar.gz
Drop unnecessary patch from boost/chrono
-rw-r--r--contrib/restricted/boost/chrono/include/boost/chrono/config.hpp4
-rw-r--r--contrib/restricted/boost/chrono/include/boost/chrono/process_cpu_clocks.hpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp b/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp
index c9d738f46a..1045ba3a79 100644
--- a/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp
+++ b/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp
@@ -130,10 +130,10 @@
#endif
#if defined( BOOST_NO_CXX11_NUMERIC_LIMITS )
-# define BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW noexcept
+# define BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW throw()
#else
#ifdef BOOST_NO_CXX11_NOEXCEPT
-# define BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW noexcept
+# define BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW throw()
#else
# define BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW noexcept
#endif
diff --git a/contrib/restricted/boost/chrono/include/boost/chrono/process_cpu_clocks.hpp b/contrib/restricted/boost/chrono/include/boost/chrono/process_cpu_clocks.hpp
index 6ea90913b7..93d3c94ac8 100644
--- a/contrib/restricted/boost/chrono/include/boost/chrono/process_cpu_clocks.hpp
+++ b/contrib/restricted/boost/chrono/include/boost/chrono/process_cpu_clocks.hpp
@@ -490,8 +490,8 @@ namespace std {
static const bool is_integer = Rep::is_integer;
static const bool is_exact = Rep::is_exact;
static const int radix = 0;
- //~ static Res epsilon() { return 0; }
- //~ static Res round_error() { return 0; }
+ //~ static Res epsilon() throw() { return 0; }
+ //~ static Res round_error() throw() { return 0; }
//~ static const int min_exponent = 0;
//~ static const int min_exponent10 = 0;
//~ static const int max_exponent = 0;
@@ -501,10 +501,10 @@ namespace std {
//~ static const bool has_signaling_NaN = false;
//~ static const float_denorm_style has_denorm = denorm_absent;
//~ static const bool has_denorm_loss = false;
- //~ static Res infinity() { return 0; }
- //~ static Res quiet_NaN() { return 0; }
- //~ static Res signaling_NaN() { return 0; }
- //~ static Res denorm_min() { return 0; }
+ //~ static Res infinity() throw() { return 0; }
+ //~ static Res quiet_NaN() throw() { return 0; }
+ //~ static Res signaling_NaN() throw() { return 0; }
+ //~ static Res denorm_min() throw() { return 0; }
//~ static const bool is_iec559 = false;
//~ static const bool is_bounded = true;
//~ static const bool is_modulo = false;