From 612cb162c754e2de0d2ef2fc1314cd93db4c2bc9 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Fri, 10 Nov 2023 14:17:23 -0500 Subject: [PATCH] json_location base --- 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 c94af750f7..de10ab9f32 100644 --- a/include/jsoncons_ext/jsonpath/json_location.hpp +++ b/include/jsoncons_ext/jsonpath/json_location.hpp @@ -259,7 +259,7 @@ namespace jsonpath { using const_iterator = typename std::vector::const_iterator; basic_json_location(const path_node_type& node, const allocator_type& alloc = allocator_type()) - : alloc_(alloc), elements_(node.size(), path_element_type{}, alloc) + : alloc_(alloc), elements_(node.size(), path_element_type{}) { std::size_t len = node.size();