Skip to content

Commit

Permalink
jsonpath operators take const_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Dec 13, 2024
1 parent fda0632 commit 2245a9c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions include/jsoncons_ext/jsonpath/jsonpath_selector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ namespace detail {
}

void tail_select(dynamic_resources<Json,JsonReference>& resources,
reference root,
const path_node_type& last,
reference current,
node_receiver_type& receiver,
result_options options) const
reference root,
const path_node_type& last,
reference current,
node_receiver_type& receiver,
result_options options) const
{
if (!tail_)
{
Expand All @@ -227,11 +227,11 @@ namespace detail {
}

reference evaluate_tail(dynamic_resources<Json,JsonReference>& resources,
reference root,
const path_node_type& last,
reference current,
result_options options,
std::error_code& ec) const
reference root,
const path_node_type& last,
reference current,
result_options options,
std::error_code& ec) const
{
if (!tail_)
{
Expand Down Expand Up @@ -284,11 +284,11 @@ namespace detail {
}

void select(dynamic_resources<Json,JsonReference>& resources,
reference root,
const path_node_type& last,
reference current,
node_receiver_type& receiver,
result_options options) const override
reference root,
const path_node_type& last,
reference current,
node_receiver_type& receiver,
result_options options) const override
{
if (current.is_object())
{
Expand Down

0 comments on commit 2245a9c

Please sign in to comment.