Skip to content

Commit

Permalink
[swss-common] Remove object type argument from json array() construct…
Browse files Browse the repository at this point in the history
…or call.

Default value set to value_t::array in constructor.
Issue: sonic-net/sonic-sairedis#801

Signed-off-by: Rajkumar Pennadam Ramamoorthy <rpennadamram@marvell.com>
  • Loading branch information
rajkumar38 committed Mar 11, 2021
1 parent be160cf commit a3dfaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ class basic_json
static basic_json array(std::initializer_list<basic_json> init =
std::initializer_list<basic_json>())
{
return basic_json(init, false, value_t::array);
return basic_json(init, false);
}

/*!
Expand Down

0 comments on commit a3dfaa7

Please sign in to comment.