From: Yedidya Feldblum Date: Wed, 7 Jun 2017 05:16:39 +0000 (-0700) Subject: Remove exception_wrapper::throwException X-Git-Tag: v2017.06.12.00~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3c7ee0d0b0174c3d5cbe22581201c8fbef666bdf;p=folly.git 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 --- 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