mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Remove alignment requirement for buffer
This commit is contained in:
parent
42a4a28580
commit
5952884a6a
@ -522,9 +522,9 @@ namespace ngcore
|
||||
// BinaryOutArchive ======================================================================
|
||||
class NGCORE_API BinaryOutArchive : public Archive
|
||||
{
|
||||
size_t ptr = 0;
|
||||
static constexpr size_t BUFFERSIZE = 1024;
|
||||
alignas(16) char buffer[BUFFERSIZE] = {};
|
||||
char buffer[BUFFERSIZE] = {};
|
||||
size_t ptr = 0;
|
||||
std::shared_ptr<std::ostream> fout;
|
||||
public:
|
||||
BinaryOutArchive() = delete;
|
||||
|
Loading…
Reference in New Issue
Block a user