Index: util/misc/uuid.cc |
diff --git a/util/misc/uuid.cc b/util/misc/uuid.cc |
index a7ba4a8f48eaa4c59e5e6cc032b380f77b4182ef..939c0b8e985daa24e0fab5c4f1c1d1100e218bd2 100644 |
--- a/util/misc/uuid.cc |
+++ b/util/misc/uuid.cc |
@@ -27,11 +27,11 @@ |
namespace crashpad { |
-COMPILE_ASSERT(sizeof(UUID) == 16, UUID_must_be_16_bytes); |
+static_assert(sizeof(UUID) == 16, "UUID must be 16 bytes"); |
#if CXX_LIBRARY_VERSION >= 2011 |
-COMPILE_ASSERT(std::is_standard_layout<UUID>::value, |
- UUID_must_be_standard_layout); |
+static_assert(std::is_standard_layout<UUID>::value, |
+ "UUID must be standard layout"); |
#endif |
UUID::UUID() : data_1(0), data_2(0), data_3(0), data_4(), data_5() { |