Index: sandbox/win/src/policy_params.h |
diff --git a/sandbox/win/src/policy_params.h b/sandbox/win/src/policy_params.h |
index 7ded1fcfc470752ba42ac7c3191b1c3ea648bb39..f50cf1e6a166e32b4f2884c6d4e74a1718b71694 100644 |
--- a/sandbox/win/src/policy_params.h |
+++ b/sandbox/win/src/policy_params.h |
@@ -32,10 +32,10 @@ POLPARAMS_BEGIN(FileName) |
POLPARAM(BROKER) // TRUE if called from the broker. |
POLPARAMS_END(FileName) |
-COMPILE_ASSERT(OpenFile::NAME == static_cast<int>(FileName::NAME), |
- to_simplify_fs_policies); |
-COMPILE_ASSERT(OpenFile::BROKER == static_cast<int>(FileName::BROKER), |
- to_simplify_fs_policies); |
+static_assert(OpenFile::NAME == static_cast<int>(FileName::NAME), |
+ "to simplify fs policies"); |
+static_assert(OpenFile::BROKER == static_cast<int>(FileName::BROKER), |
+ "to simplify fs policies"); |
// Policy parameter for name-based policies. |
POLPARAMS_BEGIN(NameBased) |