Index: Source/wtf/text/TextCodec.h |
diff --git a/Source/wtf/text/TextCodec.h b/Source/wtf/text/TextCodec.h |
index e85413e0a17c71a55ed315d9a1ca5c4548d05715..23a5489940c77d5da1a99510567231a3bf61220b 100644 |
--- a/Source/wtf/text/TextCodec.h |
+++ b/Source/wtf/text/TextCodec.h |
@@ -66,9 +66,9 @@ enum FlushBehavior { |
DataEOF |
}; |
-COMPILE_ASSERT(!DoNotFlush, DoNotFlush_is_falsy); |
-COMPILE_ASSERT(FetchEOF, FetchEOF_is_truthy); |
-COMPILE_ASSERT(DataEOF, DataEOF_is_truthy); |
+static_assert(!DoNotFlush, "DoNotFlush should be falsy"); |
+static_assert(FetchEOF, "FetchEOF should be truthy"); |
+static_assert(DataEOF, "DataEOF should be truthy"); |
class TextCodec { |