Use std::terminate rather than throwing in a noexcept function
authorChristopher Dykes <cdykes@fb.com>
Tue, 29 Nov 2016 05:23:33 +0000 (21:23 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Tue, 29 Nov 2016 05:38:26 +0000 (21:38 -0800)
commit82e1b57979015eaf3630def3ec1cebeef6bcdafa
tree6796c8e66419c4c0b624240b9bb55a37b1c530ca
parent5d8ea9825a6580771e240d093878736bd6e305f6
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
folly/ScopeGuard.h