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
template <typename T>
FOLLY_ALWAYS_INLINE static void runAndWarnAboutToCrashOnException(
template <typename T>
FOLLY_ALWAYS_INLINE static void runAndWarnAboutToCrashOnException(
+ T& function) noexcept {
try {
function();
} catch (...) {
try {
function();
} catch (...) {