forked from boostorg/endian
Make endian_arithmetic's data member public when BOOST_ENDIAN_NO_CTORS is defined; add test
This commit is contained in:
1 parent
9f122a913c
commit
7832a88828
3 files changed
+41
No files matched your search
@@ -182,6 +182,13 @@ class endian_arithmetic
|
||||
private:
|
||||
|
||||
typedef endian_buffer<Order, T, n_bits, Align> buffer_type;
|
||||
|
||||
#ifdef BOOST_ENDIAN_NO_CTORS
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
|
||||
buffer_type buf_;
|
||||
|
||||
public:
|
||||
|
||||
Reference in new issue
Block a user