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

Unified Diff: cc/base/contiguous_container_unittest.cc

Issue 2932053002: Use C++11 alignment primitives (Closed)
Patch Set: Put back ALIGNAS Created 3 years, 6 months 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
Index: cc/base/contiguous_container_unittest.cc
diff --git a/cc/base/contiguous_container_unittest.cc b/cc/base/contiguous_container_unittest.cc
index 9e5e87b0e691b8f63c41c4b5339ed99a4bf17ada..d344c214dc739243b1df8c4726d1075a1d72b861 100644
--- a/cc/base/contiguous_container_unittest.cc
+++ b/cc/base/contiguous_container_unittest.cc
@@ -216,7 +216,7 @@ TEST(ContiguousContainerTest, MemoryUsageInBytes) {
}
TEST(ContiguousContainerTest, Alignment) {
- const size_t max_align = ALIGNOF(long double);
+ const size_t max_align = alignof(long double);
ContiguousContainer<Point2D, max_align> list(kMaxPointSize);
list.AllocateAndConstruct<Point2D>();

Powered by Google App Engine
This is Rietveld 408576698