diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-07-25 17:04:17 -0400 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-07-25 17:04:17 -0400 |
commit | e8fdd1303c6c28ebd2183a77b507c26a570fe4f5 (patch) | |
tree | d7956d6836e361ef3e44f03323ca5ffae60a6219 /docs/samples/traverse_base.cpp | |
parent | 66f242a4a97626c995cfc3635c26b55236a48325 (diff) |
tests: Fix test allocator to provide fundamental alignment
Previously test allocator only guaranteed alignment enough for a pointer.
On some platforms (e.g. SPARC) double has to be aligned to 8 bytes but pointers
can have a size of 4 bytes. This commit increases allocation header to fix that.
In practical terms the allocation header is now always 8 bytes.
Diffstat (limited to 'docs/samples/traverse_base.cpp')
0 files changed, 0 insertions, 0 deletions