Index: Source/wtf/StdLibExtras.h |
diff --git a/Source/wtf/StdLibExtras.h b/Source/wtf/StdLibExtras.h |
index 55034146ec1bb6533b655407cd461cf0a1cdc57d..863eecbdd6fd64fe381c51addd26ba4e9dd71283 100644 |
--- a/Source/wtf/StdLibExtras.h |
+++ b/Source/wtf/StdLibExtras.h |
@@ -112,7 +112,7 @@ namespace WTF { |
template<typename TO, typename FROM> |
inline TO bitwise_cast(FROM from) |
{ |
- COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal); |
+ static_assert(sizeof(TO) == sizeof(FROM), "WTF::bitwise_cast sizeof casted types should be equal"); |
union { |
FROM from; |
TO to; |