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

Unified Diff: Source/platform/PODFreeListArena.h

Issue 813883002: replace COMPILE_ASSERT with static_assert in platform/ (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/platform/Length.cpp ('k') | Source/platform/WebThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PODFreeListArena.h
diff --git a/Source/platform/PODFreeListArena.h b/Source/platform/PODFreeListArena.h
index 9e965c152e52128976e92472f0b29bb4e9152d59..7e96a29b8a8a18f5e370038880cbe7bb73903fb6 100644
--- a/Source/platform/PODFreeListArena.h
+++ b/Source/platform/PODFreeListArena.h
@@ -119,7 +119,7 @@ private:
};
FixedSizeMemoryChunk* m_freeList;
- COMPILE_ASSERT(sizeof(T) >= sizeof(FixedSizeMemoryChunk), PODFreeListArena_type_should_be_larger);
+ static_assert(sizeof(T) >= sizeof(FixedSizeMemoryChunk), "PODFreeListArena type should be larger");
friend class WTF::RefCounted<PODFreeListArena>;
friend class PODFreeListArenaTest;
« no previous file with comments | « Source/platform/Length.cpp ('k') | Source/platform/WebThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698