Commit 7c8c8039 authored by Wez Furlong's avatar Wez Furlong Committed by Facebook Github Bot

folly: fix placement of noreturn attribute

Summary:
Windows and macOS compilers are sensitive to this,
and this was overlooked in D16636130

Reviewed By: selat

Differential Revision: D17113825

fbshipit-source-id: 16fe9210b07a096a58f3370df64874514e28ea46
parent 43b93a0a
...@@ -120,8 +120,8 @@ FOLLY_RTM_DISABLED_NORETURN static bool rtmTestFunc() { ...@@ -120,8 +120,8 @@ FOLLY_RTM_DISABLED_NORETURN static bool rtmTestFunc() {
} }
template <size_t... I> template <size_t... I>
FOLLY_DISABLE_SANITIZERS FOLLY_ALWAYS_INLINE static void FOLLY_RTM_DISABLED_NORETURN FOLLY_DISABLE_SANITIZERS
FOLLY_RTM_DISABLED_NORETURN FOLLY_ALWAYS_INLINE static void
rtmAbortFunc_(std::index_sequence<I...>, uint8_t status) { rtmAbortFunc_(std::index_sequence<I...>, uint8_t status) {
#if FOLLY_RTM_SUPPORT #if FOLLY_RTM_SUPPORT
switch (status) { switch (status) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment