| Index: Source/wtf/dtoa/utils.h
|
| diff --git a/Source/wtf/dtoa/utils.h b/Source/wtf/dtoa/utils.h
|
| index 54bbfb30fb486e2be9d61f620f67c46a866cd68d..51dce3db994eda662ddd9aee806f599ec2961cd4 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), "sizes should be equal");
|
|
|
| Dest dest;
|
| memcpy(&dest, &source, sizeof(dest));
|
|
|