From 3c7ee0d0b0174c3d5cbe22581201c8fbef666bdf Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 6 Jun 2017 22:16:39 -0700 Subject: [PATCH] Remove exception_wrapper::throwException Summary: [Folly] Remove `exception_wrapper::throwException`. It has been renamed to `throw_exception`. Reviewed By: Orvid Differential Revision: D5181005 fbshipit-source-id: 442b3fd9bdaa8170db504a81651cbb085ea50624 --- folly/ExceptionWrapper.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/folly/ExceptionWrapper.h b/folly/ExceptionWrapper.h index 6e11dd3c..b00dc77d 100644 --- a/folly/ExceptionWrapper.h +++ b/folly/ExceptionWrapper.h @@ -513,11 +513,6 @@ class exception_wrapper final { //! Throws the wrapped expression. [[noreturn]] void throw_exception() const; - [[noreturn]] FOLLY_DEPRECATED( - "use throw_exception") void throwException() const { - throw_exception(); - } - //! Call `fn` with the wrapped exception (if any), if `fn` can accept it. //! \par Example //! \code -- 2.34.1