From 770ae6e9da68a60f5d20409212113d1eff97ea09 Mon Sep 17 00:00:00 2001 From: Francois Chabot Date: Wed, 19 Feb 2020 16:54:09 -0500 Subject: [PATCH] accomodate older gcc --- include/nlohmann/detail/output/binary_writer.hpp | 2 +- single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp index d506e7e2f..01cd104d8 100644 --- a/include/nlohmann/detail/output/binary_writer.hpp +++ b/include/nlohmann/detail/output/binary_writer.hpp @@ -1326,7 +1326,7 @@ class binary_writer private: /// whether we can assume little endianess - const bool is_little_endian = binary_reader::little_endianess(); + const bool is_little_endian = binary_reader::little_endianess(); /// the output output_adapter_t oa = nullptr; diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 286e0a293..be12b9651 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -12674,7 +12674,7 @@ class binary_writer private: /// whether we can assume little endianess - const bool is_little_endian = binary_reader::little_endianess(); + const bool is_little_endian = binary_reader::little_endianess(); /// the output output_adapter_t oa = nullptr;