mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-12-23 22:08:32 +01:00
Add pragma pack directive
Related to https://github.com/open-source-parsers/jsoncpp/issues/458
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
|
||||
#pragma pack(push, 8)
|
||||
|
||||
namespace Json {
|
||||
template<typename T>
|
||||
class SecureAllocator {
|
||||
@@ -91,4 +93,6 @@ bool operator!=(const SecureAllocator<T>&, const SecureAllocator<U>&) {
|
||||
|
||||
} //namespace Json
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif // CPPTL_JSON_ALLOCATOR_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user