Change a couple of COMPILE_ASSERTs to static_assert
Created attachment 211809 [details] Patch
Attachment 211809 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/BloomFilter.h', u'Source/WTF/wtf/PackedIntVector.h', u'Source/WTF/wtf/StdLibExtras.h', u'Source/WTF/wtf/StringHasher.h', u'Source/WTF/wtf/Vector.h', u'Source/WTF/wtf/text/AtomicString.cpp', u'Source/WTF/wtf/unicode/Unicode.h']" exit_code: 1 Source/WTF/wtf/StdLibExtras.h:133: bitwise_cast is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 211809 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211809&action=review > Source/WTF/wtf/StdLibExtras.h:135 > + static_assert(sizeof(FromType) == sizeof(ToType), "bitwise_cast size of FromType and toType must be equal!"); toType -> ToType
Committed r155883: <http://trac.webkit.org/changeset/155883>