mirror of
https://github.com/nlohmann/json
synced 2024-11-10 14:30:08 +00:00
accomodate older gcc
This commit is contained in:
parent
de35fad88e
commit
770ae6e9da
@ -1326,7 +1326,7 @@ class binary_writer
|
||||
|
||||
private:
|
||||
/// whether we can assume little endianess
|
||||
const bool is_little_endian = binary_reader<BasicJsonType, detail::input_buffer_adapter>::little_endianess();
|
||||
const bool is_little_endian = binary_reader<BasicJsonType, input_buffer_adapter>::little_endianess();
|
||||
|
||||
/// the output
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
|
@ -12674,7 +12674,7 @@ class binary_writer
|
||||
|
||||
private:
|
||||
/// whether we can assume little endianess
|
||||
const bool is_little_endian = binary_reader<BasicJsonType, detail::input_buffer_adapter>::little_endianess();
|
||||
const bool is_little_endian = binary_reader<BasicJsonType, input_buffer_adapter>::little_endianess();
|
||||
|
||||
/// the output
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user