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