diff --git a/include/nlohmann/detail/wrapped_binary_t.hpp b/include/nlohmann/detail/wrapped_binary_t.hpp index f0ccba27..1ec6a98a 100644 --- a/include/nlohmann/detail/wrapped_binary_t.hpp +++ b/include/nlohmann/detail/wrapped_binary_t.hpp @@ -21,7 +21,9 @@ struct wrapped_binary_t : public BinaryType { using binary_t = BinaryType; - wrapped_binary_t() noexcept(noexcept(binary_t())) = default; + wrapped_binary_t() noexcept(noexcept(binary_t())) + : binary_t() + {} wrapped_binary_t(const binary_t& bint) noexcept(noexcept(binary_t(bint))) : binary_t(bint) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 0727b005..2d12e895 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -15597,7 +15597,9 @@ struct wrapped_binary_t : public BinaryType { using binary_t = BinaryType; - wrapped_binary_t() noexcept(noexcept(binary_t())) = default; + wrapped_binary_t() noexcept(noexcept(binary_t())) + : binary_t() + {} wrapped_binary_t(const binary_t& bint) noexcept(noexcept(binary_t(bint))) : binary_t(bint)