diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index 7a1c8ac71..504117bf1 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -129,7 +129,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec using lexer = ::nlohmann::detail::lexer_base; template - static ::nlohmann::detail::parser, AllocatorType> parser( + static ::nlohmann::detail::parser, AllocatorType> parser( InputAdapterType adapter, detail::parser_callback_tcb = nullptr, const bool allow_exceptions = true, diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index aad80d440..7caa58635 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -19347,7 +19347,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec using lexer = ::nlohmann::detail::lexer_base; template - static ::nlohmann::detail::parser, AllocatorType> parser( + static ::nlohmann::detail::parser, AllocatorType> parser( InputAdapterType adapter, detail::parser_callback_tcb = nullptr, const bool allow_exceptions = true,