From d84b1b628d8b723135a34de8dc79cbae3412d8fb Mon Sep 17 00:00:00 2001 From: Shoaib Meenai Date: Fri, 19 May 2017 16:11:07 -0700 Subject: [PATCH] Remove FOLLY_SKIP_LIBCPP_4000_THROW_BACKPORTS Summary: 4.0 has been out for three months now, so it's pretty safe to remove them. Reviewed By: Orvid, yfeldblum, mzlee Differential Revision: D5096007 fbshipit-source-id: 595c3e86cd7cf1a1706f27f107fb0af8ab89a676 --- folly/portability/BitsFunctexcept.cpp | 2 +- folly/portability/BitsFunctexcept.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/folly/portability/BitsFunctexcept.cpp b/folly/portability/BitsFunctexcept.cpp index 97563f8d..80e4a543 100644 --- a/folly/portability/BitsFunctexcept.cpp +++ b/folly/portability/BitsFunctexcept.cpp @@ -26,7 +26,7 @@ FOLLY_NAMESPACE_STD_BEGIN -#if _LIBCPP_VERSION < 4000 && !FOLLY_SKIP_LIBCPP_4000_THROW_BACKPORTS +#if _LIBCPP_VERSION < 4000 void __throw_length_error(char const* msg) { throw std::length_error(msg); } diff --git a/folly/portability/BitsFunctexcept.h b/folly/portability/BitsFunctexcept.h index ac04ff85..72deb3e8 100644 --- a/folly/portability/BitsFunctexcept.h +++ b/folly/portability/BitsFunctexcept.h @@ -29,7 +29,7 @@ FOLLY_NAMESPACE_STD_BEGIN -#if _LIBCPP_VERSION < 4000 && !FOLLY_SKIP_LIBCPP_4000_THROW_BACKPORTS +#if _LIBCPP_VERSION < 4000 [[noreturn]] void __throw_length_error(char const* msg); // @nolint [[noreturn]] void __throw_logic_error(char const* msg); [[noreturn]] void __throw_out_of_range(char const* msg); -- 2.34.1