From af3d732a32928155d6bf8e6991f03d29002206db Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 27 Nov 2013 02:18:25 +0000 Subject: * include/storage.H (Arena::allocate): Adjust spelling of alignment query operator. (Arena::Arena): Likewise. (HashTableEntry): Adjust spelling of alignment specifier. --- src/include/storage.H | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/storage.H b/src/include/storage.H index afd5f51f..e414dec2 100644 --- a/src/include/storage.H +++ b/src/include/storage.H @@ -229,8 +229,7 @@ namespace OpenAxiom { if (BlockStorage::room(store) < sz) { // Not enough room left. Make sure we allocate storage // at least as big as the current. - Handle* h = acquire(std::max(n, object_count(store)), - openaxiom_alignment(T)); + Handle* h = acquire(std::max(n, object_count(store)), alignof(T)); previous(h) = store; store = h; } @@ -239,8 +238,7 @@ namespace OpenAxiom { template Arena::Arena(size_t n) - : store(BlockStorage::acquire(n * sizeof (T), - openaxiom_alignment (T))) + : store(BlockStorage::acquire(n * sizeof (T), alignof (T))) { } template -- cgit v1.2.3