Skip to content

Commit

Permalink
Merge pull request #438 from ergonjomeier/change_dump_pretty_signature
Browse files Browse the repository at this point in the history
Change signature of dump_pretty
  • Loading branch information
danielaparker authored Jul 14, 2023
2 parents 5ad0b06 + 72e4963 commit 3498366
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/jsoncons/basic_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3859,11 +3859,10 @@ namespace jsoncons {
template <class CharContainer>
typename std::enable_if<extension_traits::is_back_insertable_char_container<CharContainer>::value>::type
dump_pretty(CharContainer& cont,
const basic_json_encode_options<char_type>& options = basic_json_encode_options<CharT>(),
indenting indent = indenting::no_indent) const
const basic_json_encode_options<char_type>& options = basic_json_encode_options<CharT>()) const
{
std::error_code ec;
dump_pretty(cont, options, indent, ec);
dump_pretty(cont, options, ec);
if (ec)
{
JSONCONS_THROW(ser_error(ec));
Expand Down

0 comments on commit 3498366

Please sign in to comment.