Index: Source/wtf/text/TextCodec.h |
diff --git a/Source/wtf/text/TextCodec.h b/Source/wtf/text/TextCodec.h |
index e85413e0a17c71a55ed315d9a1ca5c4548d05715..6bf2552e6b8a2438b2892a8a5e0a576b83b4f270 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 is falsy"); |
Nico
2014/12/16 17:56:28
s/is/should be/?
Mostyn Bramley-Moore
2014/12/16 19:00:37
Done.
|
+static_assert(FetchEOF, "FetchEOF is truthy"); |
+static_assert(DataEOF, "DataEOF is truthy"); |
class TextCodec { |