Index: sandbox/linux/seccomp-bpf/trap.h |
diff --git a/sandbox/linux/seccomp-bpf/trap.h b/sandbox/linux/seccomp-bpf/trap.h |
index fea0052ffcd3e35226f5420abc1f6e97ee07db37..c39d6a544d90b6c6908e5f0620fe3a937ef0d4e1 100644 |
--- a/sandbox/linux/seccomp-bpf/trap.h |
+++ b/sandbox/linux/seccomp-bpf/trap.h |
@@ -67,9 +67,9 @@ class SANDBOX_EXPORT Trap : public bpf_dsl::TrapRegistry { |
// automatically as needed. |
Trap(); |
- // The destructor is unimplemented. Don't ever attempt to destruct this |
- // object. It'll break subsequent system calls that trigger a SIGSYS. |
- ~Trap(); |
+ // The destructor is unimplemented as destroying this object would |
+ // break subsequent system calls that trigger a SIGSYS. |
+ ~Trap() = delete; |
static void SigSysAction(int nr, siginfo_t* info, void* void_context); |