| Index: sandbox/linux/seccomp-bpf/trap.h
|
| diff --git a/sandbox/linux/seccomp-bpf/trap.h b/sandbox/linux/seccomp-bpf/trap.h
|
| index 63fff88b1d51deafe938acf4a38aee18946ab1e6..4073bfe1201caa067ba6728672b316e84d1227e0 100644
|
| --- a/sandbox/linux/seccomp-bpf/trap.h
|
| +++ b/sandbox/linux/seccomp-bpf/trap.h
|
| @@ -53,9 +53,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);
|
|
|
|
|