Fix destructor with throw
Summary: In new NDK, it is required to explicitly mark if a destructor throws.
@@ -38,7 +38,7 @@ public:
}
}
- ~SignalMask() {
+ ~SignalMask() noexcept(false) {
if (pthread_sigmask(SIG_SETMASK, &old_, NULL)) {
throw std::system_error(errno, std::system_category(), "sigprocmask restore");
}
