From 587dde53b6b8a9b76e53e5a294fced5680edcc46 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Thu, 23 Nov 2023 23:02:50 -0500 Subject: [PATCH] Doc update --- include/jsoncons_ext/jsonpath/path_node.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/jsoncons_ext/jsonpath/path_node.hpp b/include/jsoncons_ext/jsonpath/path_node.hpp index dd43a8748d..89ccf759ae 100644 --- a/include/jsoncons_ext/jsonpath/path_node.hpp +++ b/include/jsoncons_ext/jsonpath/path_node.hpp @@ -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) { @@ -81,7 +81,7 @@ namespace jsonpath { return node_kind_; } - const string_view_type& name() const + string_view_type name() const { return name_; }