Commit 30db459f authored by Pádraig Brady's avatar Pádraig Brady Committed by Facebook Github Bot

Fix build failure with GCC 5

Summary:
GCC 5 doesn't recognize LOG(FATAL) as [[noreturn]],
so remove [[noreturn]] to avoid that warning and build failure.

Reviewed By: yfeldblum

Differential Revision: D4484625

fbshipit-source-id: ca129ca3a52239becd7d80f99107e64745bf8838
parent 23688fa8
...@@ -257,7 +257,7 @@ struct StaticMetaBase { ...@@ -257,7 +257,7 @@ struct StaticMetaBase {
StaticMetaBase(ThreadEntry* (*threadEntry)(), bool strict); StaticMetaBase(ThreadEntry* (*threadEntry)(), bool strict);
[[noreturn]] ~StaticMetaBase() { [[noreturn]] ~StaticMetaBase() {
LOG(FATAL) << "StaticMeta lives forever!"; folly::assume_unreachable();
} }
void push_back(ThreadEntry* t) { void push_back(ThreadEntry* t) {
......
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