Index: Source/wtf/dtoa/utils.h |
diff --git a/Source/wtf/dtoa/utils.h b/Source/wtf/dtoa/utils.h |
index 54bbfb30fb486e2be9d61f620f67c46a866cd68d..de16a7b31e79ba99c2e1b39f303896b07537d992 100644 |
--- a/Source/wtf/dtoa/utils.h |
+++ b/Source/wtf/dtoa/utils.h |
@@ -288,7 +288,7 @@ namespace double_conversion { |
inline Dest BitCast(const Source& source) { |
// Compile time assertion: sizeof(Dest) == sizeof(Source) |
// A compile error here means your Dest and Source have different sizes. |
- COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual); |
+ static_assert(sizeof(Dest) == sizeof(Source), "Verify sizes are equal"); |
Nico
2014/12/16 17:56:28
"sizes should be equal" would be more similar to t
Mostyn Bramley-Moore
2014/12/16 19:00:37
Done.
|
Dest dest; |
memcpy(&dest, &source, sizeof(dest)); |