| Index: base/memory/manual_constructor.h
|
| diff --git a/base/memory/manual_constructor.h b/base/memory/manual_constructor.h
|
| index f401f62d513803803efdd4de3a8b1de8ede9ba9f..459cb58207375da2d1c90ae10b1e533eda37f197 100644
|
| --- a/base/memory/manual_constructor.h
|
| +++ b/base/memory/manual_constructor.h
|
| @@ -34,7 +34,7 @@ class ManualConstructor {
|
| // Support users creating arrays of ManualConstructor<>s. This ensures that
|
| // the array itself has the correct alignment.
|
| static void* operator new[](size_t size) {
|
| - return AlignedAlloc(size, ALIGNOF(Type));
|
| + return AlignedAlloc(size, alignof(Type));
|
| }
|
| static void operator delete[](void* mem) {
|
| AlignedFree(mem);
|
| @@ -67,7 +67,7 @@ class ManualConstructor {
|
| }
|
|
|
| private:
|
| - AlignedMemory<sizeof(Type), ALIGNOF(Type)> space_;
|
| + AlignedMemory<sizeof(Type), alignof(Type)> space_;
|
| };
|
|
|
| } // namespace base
|
|
|