diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp index 0f994e89a..be6a00554 100644 --- a/include/nlohmann/detail/output/binary_writer.hpp +++ b/include/nlohmann/detail/output/binary_writer.hpp @@ -42,7 +42,6 @@ class binary_writer explicit binary_writer(output_adapter_t adapter, const bool is_bjdata_ = false) : oa(std::move(adapter)), is_bjdata(is_bjdata_) { JSON_ASSERT(oa); - JSON_ASSERT(is_bjdata); } /*! diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 92b916b3d..a1da57f7d 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -13866,7 +13866,6 @@ class binary_writer explicit binary_writer(output_adapter_t adapter, const bool is_bjdata_ = false) : oa(std::move(adapter)), is_bjdata(is_bjdata_) { JSON_ASSERT(oa); - JSON_ASSERT(is_bjdata); } /*!