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 ab10bca commit 638faad
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/jsoncons/detail/optional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <utility> // std::swap

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_exception.hpp>

namespace jsoncons
{
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons/detail/span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <type_traits> // std::enable_if, std::true_type, std::false_type

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/utility/extension_traits.hpp>

namespace jsoncons {
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons/detail/string_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <string>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_exception.hpp>

namespace jsoncons {
namespace detail {
Expand Down
3 changes: 2 additions & 1 deletion include/jsoncons/item_event_visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@

#include <cstddef>
#include <cstdint>
#include <system_error>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_encoder.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/json_visitor.hpp>
#include <system_error>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/extension_traits.hpp>

Expand Down
4 changes: 4 additions & 0 deletions include/jsoncons_ext/jsonpath/expression.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
#define JSONCONS_EXT_JSONPATH_EXPRESSION_HPP

#include <cstddef>
#include <cstdint>
#include <exception>
#include <memory>
#include <set> // std::set
#include <string> // std::basic_string
#include <system_error>
Expand All @@ -18,6 +20,8 @@
#include <utility> // std::move
#include <vector> // std::vector

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/detail/parse_number.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/extension_traits.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonpath/flatten.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons/jsoncons_config.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>

Expand Down
1 change: 1 addition & 0 deletions include/jsoncons_ext/jsonpath/json_location.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/utility/extension_traits.hpp>

Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jsonpath/jsonpath_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_decoder.hpp>
#include <jsoncons/json_parser.hpp>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/tag_type.hpp>

#include <jsoncons_ext/jsonpath/expression.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jsonpath/jsonpath_selector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
#define JSONCONS_EXT_JSONPATH_JSONPATH_SELECTOR_HPP

#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <system_error>
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/tag_type.hpp>

#include <jsoncons_ext/jsonpath/expression.hpp>
Expand Down

0 comments on commit 638faad

Please sign in to comment.