Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
index 7707953f00a71078d42abcd7c268656d35f6fa5f..42d98bbcabce3d52c320d3466eff33be8fb9acae 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
@@ -264,7 +264,7 @@ ResultExpr RestrictGetSetpriority(pid_t target_pid) { |
} |
ResultExpr RestrictClockID() { |
- COMPILE_ASSERT(4 == sizeof(clockid_t), clockid_is_not_32bit); |
+ static_assert(4 == sizeof(clockid_t), "clockid_t is not 32bit"); |
const Arg<clockid_t> clockid(0); |
return If( |
#if defined(OS_CHROMEOS) |