Commit c520b4fa authored by Phil Willoughby's avatar Phil Willoughby Committed by Facebook Github Bot

Fix termination output on GCC

Summary:
Thanks nbronson for suggesting this fix. I don't see why this should make any
difference (and nor does clang) but the important thing is that it works now.

Reviewed By: nbronson

Differential Revision: D4212670

fbshipit-source-id: 08b4313d736f237039a807fbc458d4d581a2ef35
parent 46e46627
...@@ -78,7 +78,7 @@ class ScopeGuardImplBase { ...@@ -78,7 +78,7 @@ class ScopeGuardImplBase {
template <typename T> template <typename T>
FOLLY_ALWAYS_INLINE static void runAndWarnAboutToCrashOnException( FOLLY_ALWAYS_INLINE static void runAndWarnAboutToCrashOnException(
T& function) { T& function) noexcept {
try { try {
function(); function();
} catch (...) { } catch (...) {
......
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