Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Nov 24, 2023
1 parent 098fa86 commit 587dde5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jsoncons_ext/jsonpath/path_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace jsonpath {
{
}

basic_path_node(const basic_path_node* parent, const string_view_type& name)
basic_path_node(const basic_path_node* parent, string_view_type name)
: parent_(parent), size_(parent == nullptr ? 1 : parent->size()+1),
node_kind_(path_node_kind::name), name_(name), index_(0)
{
Expand Down Expand Up @@ -81,7 +81,7 @@ namespace jsonpath {
return node_kind_;
}

const string_view_type& name() const
string_view_type name() const
{
return name_;
}
Expand Down

0 comments on commit 587dde5

Please sign in to comment.