Skip to content

Commit

Permalink
Improve basic_json ctors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Oct 21, 2024
1 parent 270f467 commit 26418fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jsoncons/basic_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3233,7 +3233,7 @@ namespace jsoncons {
construct<half_storage>(val, tag);
}

basic_json(double val, semantic_tag tag)
basic_json(double val, semantic_tag tag = semantic_tag::none)
{
construct<double_storage>(val, tag);
}
Expand Down Expand Up @@ -3303,7 +3303,7 @@ namespace jsoncons {
}
}

basic_json(null_type, semantic_tag tag)
basic_json(null_type, semantic_tag tag = semantic_tag::none)
{
construct<null_storage>(tag);
}
Expand Down

0 comments on commit 26418fe

Please sign in to comment.