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