Skip to content

Commit

Permalink
tidy includes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Jan 7, 2025
1 parent e1d2136 commit 81f9c3b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
11 changes: 3 additions & 8 deletions include/jsoncons_ext/jsonpath/flatten.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@
#ifndef JSONCONS_EXT_JSONPATH_FLATTEN_HPP
#define JSONCONS_EXT_JSONPATH_FLATTEN_HPP

#include <algorithm> // std::copy
#include <iterator> // std::back_inserter
#include <limits> // std::numeric_limits
#include <cstddef>
#include <memory>
#include <string>
#include <type_traits> // std::is_const
#include <utility> // std::move
#include <vector>

#include <jsoncons/json_type.hpp>
#include <jsoncons/jsoncons_config.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/json_location.hpp>
#include <jsoncons_ext/jsonpath/json_query.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>

namespace jsoncons { namespace jsonpath {
Expand Down
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 @@ -8,14 +8,14 @@
#define JSONCONS_EXT_JSONPATH_JSON_LOCATION_HPP

#include <algorithm> // std::reverse
#include <cstddef>
#include <memory>
#include <string>
#include <type_traits> // std::is_const
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>
#include <jsoncons_ext/jsonpath/path_node.hpp>
Expand Down
4 changes: 4 additions & 0 deletions include/jsoncons_ext/jsonpath/json_query.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
#ifndef JSONCONS_EXT_JSONPATH_JSON_QUERY_HPP
#define JSONCONS_EXT_JSONPATH_JSON_QUERY_HPP

#include <type_traits>

#include <jsoncons_ext/jsonpath/expression.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_expression.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_parser.hpp>
#include <jsoncons_ext/jsonpath/path_node.hpp>

namespace jsoncons {
namespace jsonpath {
Expand Down
3 changes: 1 addition & 2 deletions include/jsoncons_ext/jsonpath/jsonpath_selector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#ifndef JSONCONS_EXT_JSONPATH_JSONPATH_SELECTOR_HPP
#define JSONCONS_EXT_JSONPATH_JSONPATH_SELECTOR_HPP

#include <cstddef>
#include <limits> // std::numeric_limits
#include <memory>
#include <regex>
Expand All @@ -15,9 +16,7 @@
#include <utility> // std::move
#include <vector>

#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpath/expression.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>

namespace jsoncons {
namespace jsonpath {
Expand Down

0 comments on commit 81f9c3b

Please sign in to comment.