Commit 82e1b579 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Use std::terminate rather than throwing in a noexcept function

Summary: Because MSVC isn't happy about it and generates a warning with a lot of context.

Reviewed By: yfeldblum

Differential Revision: D4242688

fbshipit-source-id: b1e26c9e3b58e7bac0e00ab8959358010fa610e8
parent 5d8ea982
......@@ -83,7 +83,7 @@ class ScopeGuardImplBase {
function();
} catch (...) {
warnAboutToCrash();
throw;
std::terminate();
}
}
......
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