From e3123cb61b056148cdbde0bfcc5c575aaa3691f0 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Fri, 10 Nov 2023 15:02:15 -0500 Subject: [PATCH] basic_path_node --- include/jsoncons_ext/jsonpath/json_location.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jsoncons_ext/jsonpath/json_location.hpp b/include/jsoncons_ext/jsonpath/json_location.hpp index f008b29ff1..88544ea4e7 100644 --- a/include/jsoncons_ext/jsonpath/json_location.hpp +++ b/include/jsoncons_ext/jsonpath/json_location.hpp @@ -300,7 +300,7 @@ namespace jsonpath { const basic_path_node& base_node() const { - return base_node_; + return *base_node_; } string_type to_string() const