[NFC][sanitizer] Non-copyable ScopedBlockSignals

This commit is contained in:
Vitaly Buka 2021-12-06 22:35:55 -08:00
parent 0fe61ecc2c
commit faf694b662
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ struct ScopedBlockSignals {
explicit ScopedBlockSignals(__sanitizer_sigset_t *copy);
~ScopedBlockSignals();
ScopedBlockSignals &operator=(const ScopedBlockSignals &) = delete;
ScopedBlockSignals(const ScopedBlockSignals &) = delete;
private:
__sanitizer_sigset_t saved_;
};