aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-11-27 02:18:25 +0000
committerdos-reis <gdr@axiomatics.org>2013-11-27 02:18:25 +0000
commitaf3d732a32928155d6bf8e6991f03d29002206db (patch)
treeb08fab1df0b87445d2cec5dfe3efd65202845d72 /src/include
parent6775efcd28e0ff63a0a7e8ffc7474f0cd56fc6f2 (diff)
downloadopen-axiom-af3d732a32928155d6bf8e6991f03d29002206db.tar.gz
* include/storage.H (Arena<T>::allocate): Adjust spelling of
alignment query operator. (Arena<T>::Arena): Likewise. (HashTableEntry<T>): Adjust spelling of alignment specifier.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage.H6
1 files changed, 2 insertions, 4 deletions
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<typename T>
Arena<T>::Arena(size_t n)
- : store(BlockStorage::acquire(n * sizeof (T),
- openaxiom_alignment (T)))
+ : store(BlockStorage::acquire(n * sizeof (T), alignof (T)))
{ }
template<typename T>