Skip to content

Commit

Permalink
json_location_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Nov 20, 2023
1 parent 5493bc8 commit dfb043f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jsoncons_ext/jsonpath/json_location.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>
#include <vector>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons_ext/jsonpath/normalized_path_parser.hpp>
#include <jsoncons_ext/jsonpath/json_location_parser.hpp>

namespace jsoncons {
namespace jsonpath {
Expand Down Expand Up @@ -149,7 +149,7 @@ namespace jsonpath {

static basic_json_location parse(const jsoncons::basic_string_view<char_type>& normalized_path)
{
jsonpath::detail::normalized_path_parser<char,std::allocator<char>> parser;
jsonpath::detail::json_location_parser<char,std::allocator<char>> parser;

std::vector<jsonpath::path_element> location = parser.parse(normalized_path);
return basic_json_location(std::move(location));
Expand Down

0 comments on commit dfb043f

Please sign in to comment.