Reduce alignment requirement of buffer to 16 bytes

This commit is contained in:
Matthias Hochsteger 2018-12-14 11:58:59 +01:00
parent afc2ad5e23
commit 964c9489eb

View File

@ -524,7 +524,7 @@ namespace ngcore
{
size_t ptr = 0;
static constexpr size_t BUFFERSIZE = 1024;
alignas(64) char buffer[BUFFERSIZE] = {};
alignas(16) char buffer[BUFFERSIZE] = {};
std::shared_ptr<std::ostream> fout;
public:
BinaryOutArchive() = delete;