mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Reduce alignment requirement of buffer to 16 bytes
This commit is contained in:
parent
afc2ad5e23
commit
964c9489eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user