| Index: cc/base/contiguous_container.h
|
| diff --git a/cc/base/contiguous_container.h b/cc/base/contiguous_container.h
|
| index d0285fcf8f00f4720f236f51c61d7d2e8b2ab4b7..ea5d8e65e5407f942576468e9d11dae1e572cc8c 100644
|
| --- a/cc/base/contiguous_container.h
|
| +++ b/cc/base/contiguous_container.h
|
| @@ -169,7 +169,7 @@ class ContiguousContainer : public ContiguousContainerBase {
|
|
|
| template <class DerivedElementType, typename... Args>
|
| DerivedElementType& AllocateAndConstruct(Args&&... args) {
|
| - static_assert(alignment % ALIGNOF(DerivedElementType) == 0,
|
| + static_assert(alignment % alignof(DerivedElementType) == 0,
|
| "Derived type requires stronger alignment.");
|
| return *new (AlignedAllocate(sizeof(DerivedElementType)))
|
| DerivedElementType(std::forward<Args>(args)...);
|
|
|