Skip to content

Commit

Permalink
Update json_object.hpp
Browse files Browse the repository at this point in the history
Shadowed name fix.
  • Loading branch information
MonkeybreadSoftware authored Sep 27, 2023
1 parent 251061a commit 8de64ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jsoncons/json_object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ namespace jsoncons {
Json value;

template <class... Args>
index_key_value(key_type&& name, int64_t index, Args&& ... args)
: name(std::move(name)), index(index), value(std::forward<Args>(args)...)
index_key_value(key_type&& Name, int64_t Index, Args&& ... args)
: name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
{
}

Expand Down

0 comments on commit 8de64ab

Please sign in to comment.