Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1586)

Unified Diff: Source/wtf/TypeTraits.h

Issue 802203004: replace COMPILE_ASSERT with static assert in wtf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: final fixups Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/StringHasher.h ('k') | Source/wtf/TypeTraits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/TypeTraits.h
diff --git a/Source/wtf/TypeTraits.h b/Source/wtf/TypeTraits.h
index 92f8cebb2b7b02d00e717be8d7902c8af2e656da..367978f216561b0aef482a68d4fbc89a0107c3b6 100644
--- a/Source/wtf/TypeTraits.h
+++ b/Source/wtf/TypeTraits.h
@@ -43,7 +43,7 @@ namespace WTF {
// RemoveConstVolatile<T>::Type
// RemoveExtent<T>::Type
//
- // COMPILE_ASSERT's in TypeTraits.cpp illustrate their usage and what they do.
+ // static_assert's in TypeTraits.cpp illustrate their usage and what they do.
template<bool Predicate, class T = void> struct EnableIf;
template<class T> struct EnableIf<true, T> { typedef T Type; };
« no previous file with comments | « Source/wtf/StringHasher.h ('k') | Source/wtf/TypeTraits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698