don't throw in noexcept function
Summary: `throw` within a `noexcept` function triggers a compiler warning on the latest clang in C++17 mode. As the behavior of uncaught `throw` within a `noexcept` context is to terminate the program, do so explicitly. Reviewed By: yfeldblum Differential Revision: D8651221 fbshipit-source-id: 004c4c132ad9b5b873a92cf2710b9d1ebe4e705b
Showing
Please register or sign in to comment