Commit e052c727 authored by Philipp A. Hartmann's avatar Philipp A. Hartmann

GenericValue: drop forced packing pragma

parent 2475e952
...@@ -413,7 +413,6 @@ template <typename T> struct IsGenericValue : IsGenericValueImpl<T>::Type {}; ...@@ -413,7 +413,6 @@ template <typename T> struct IsGenericValue : IsGenericValueImpl<T>::Type {};
\tparam Encoding Encoding of the value. (Even non-string values need to have the same encoding in a document) \tparam Encoding Encoding of the value. (Even non-string values need to have the same encoding in a document)
\tparam Allocator Allocator type for allocating memory of object, array and string. \tparam Allocator Allocator type for allocating memory of object, array and string.
*/ */
#pragma pack (push, 4)
template <typename Encoding, typename Allocator = MemoryPoolAllocator<> > template <typename Encoding, typename Allocator = MemoryPoolAllocator<> >
class GenericValue { class GenericValue {
public: public:
...@@ -1590,7 +1589,6 @@ private: ...@@ -1590,7 +1589,6 @@ private:
Data data_; Data data_;
unsigned flags_; unsigned flags_;
}; };
#pragma pack (pop)
//! GenericValue with UTF8 encoding //! GenericValue with UTF8 encoding
typedef GenericValue<UTF8<> > Value; typedef GenericValue<UTF8<> > Value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment