| Index: sandbox/linux/services/namespace_utils.h
|
| diff --git a/sandbox/linux/services/namespace_utils.h b/sandbox/linux/services/namespace_utils.h
|
| index f3c88a94522622417218261bcdf2ee61bc5f8ac3..723103336ba0dc84270169042e0beb5cafc44a4b 100644
|
| --- a/sandbox/linux/services/namespace_utils.h
|
| +++ b/sandbox/linux/services/namespace_utils.h
|
| @@ -17,7 +17,8 @@ namespace sandbox {
|
| // Utility functions for using Linux namepaces.
|
| class SANDBOX_EXPORT NamespaceUtils {
|
| public:
|
| - COMPILE_ASSERT((base::is_same<uid_t, gid_t>::value), UidAndGidAreSameType);
|
| + static_assert((base::is_same<uid_t, gid_t>::value),
|
| + "uid_t and gid_t must be the same type");
|
| // generic_id_t can be used for either uid_t or gid_t.
|
| typedef uid_t generic_id_t;
|
|
|
|
|