diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-12-24 16:26:21 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-12-24 16:26:21 -0500 |
commit | 3b187a0ff77b852e003d666384b873b52e9dbad8 (patch) | |
tree | f1aba3f3d7c21368846df361da081ce1992f035f /secblock.h | |
parent | bc02bccce5b911f45e1246d95a06027fb739bef9 (diff) | |
download | cryptopp-git-3b187a0ff77b852e003d666384b873b52e9dbad8.tar.gz |
Update FixedSizeAllocatorWithCleanup alignment
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -708,13 +708,9 @@ public: private:
- // The 8-byte alignments follows convention of Linux and Windows.
- // Linux and Windows receives most testing. Duplicate it here for
- // other platforms like AIX and Solaris. AIX and Solaris often use
- // alignments smaller than expected. In fact AIX caught us by
- // surprise with word16 and word32.
+ // T_Align16 is false. Use natural alignment of T.
T* GetAlignedArray() {return m_array;}
- CRYPTOPP_ALIGN_DATA(8) T m_array[S];
+ T m_array[S];
A m_fallbackAllocator;
bool m_allocated;
|