From b0249d03ff45ed1547545f28a79b2ce2cc3bbdfa Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Wed, 15 Nov 2023 17:53:42 -0500 Subject: [PATCH] expr.select_paths --- 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 4bf8fafb04..ec551dfbea 100644 --- a/include/jsoncons_ext/jsonpath/json_location.hpp +++ b/include/jsoncons_ext/jsonpath/json_location.hpp @@ -257,7 +257,7 @@ namespace jsonpath { switch (element.element_kind()) { case path_element_kind::name: - if (current.is_object()) + if (p_current->is_object()) { }