Index: google_apis/gcm/base/mcs_util_unittest.cc |
diff --git a/google_apis/gcm/base/mcs_util_unittest.cc b/google_apis/gcm/base/mcs_util_unittest.cc |
index 00bac1175f9a560f7fa0f88d2273d91a75b93d59..d51f5a07f7851ef56182b31ccbe80fee69507834 100644 |
--- a/google_apis/gcm/base/mcs_util_unittest.cc |
+++ b/google_apis/gcm/base/mcs_util_unittest.cc |
@@ -42,7 +42,7 @@ TEST(MCSUtilTest, ProtobufToTag) { |
// Test getting and setting persistent ids. |
TEST(MCSUtilTest, PersistentIds) { |
- COMPILE_ASSERT(kNumProtoTypes == 16U, UpdatePersistentIds); |
+ static_assert(kNumProtoTypes == 16U, "Update Persistent Ids"); |
const int kTagsWithPersistentIds[] = { |
kIqStanzaTag, |
kDataMessageStanzaTag |
@@ -61,7 +61,7 @@ TEST(MCSUtilTest, PersistentIds) { |
// Test getting and setting stream ids. |
TEST(MCSUtilTest, StreamIds) { |
- COMPILE_ASSERT(kNumProtoTypes == 16U, UpdateStreamIds); |
+ static_assert(kNumProtoTypes == 16U, "Update Stream Ids"); |
const int kTagsWithStreamIds[] = { |
kIqStanzaTag, |
kDataMessageStanzaTag, |