Change a couple of COMPILE_ASSERTs to static_assert
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Sep 2013 17:50:20 +0000 (17:50 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Sep 2013 17:50:20 +0000 (17:50 +0000)
commit6650bf193556affc7d2ab46417812be9c7a91d24
treebcd05cdf60ca2e635c017b583cc099a19e4eb5ca
parent73517a2c1f2437027b50a588628aa99dade3d546
Change a couple of COMPILE_ASSERTs to static_assert
https://bugs.webkit.org/show_bug.cgi?id=121441

Reviewed by Andreas Kling.

* wtf/BloomFilter.h:
* wtf/PackedIntVector.h:
(WTF::PackedIntVector::PackedIntVector):
* wtf/StdLibExtras.h:
(WTF::bitwise_cast):
(WTF::safeCast):
(WTF::roundUpToMultipleOf):
* wtf/StringHasher.h:
(WTF::StringHasher::hashMemory):
* wtf/Vector.h:
* wtf/text/AtomicString.cpp:
* wtf/unicode/Unicode.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/BloomFilter.h
Source/WTF/wtf/PackedIntVector.h
Source/WTF/wtf/StdLibExtras.h
Source/WTF/wtf/StringHasher.h
Source/WTF/wtf/Vector.h
Source/WTF/wtf/text/AtomicString.cpp
Source/WTF/wtf/unicode/Unicode.h