Skip to content

Commit

Permalink
json_location base
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Nov 10, 2023
1 parent f615617 commit 612cb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonpath/json_location.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace jsonpath {
using const_iterator = typename std::vector<path_element_type>::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();

Expand Down

0 comments on commit 612cb16

Please sign in to comment.