Skip to content

Commit 638faad

Browse files
committed
tidy includes
1 parent ab10bca commit 638faad

File tree

9 files changed

+12
-5
lines changed

9 files changed

+12
-5
lines changed

include/jsoncons/detail/optional.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <utility> // std::swap
1414

1515
#include <jsoncons/config/compiler_support.hpp>
16-
#include <jsoncons/json_exception.hpp>
1716

1817
namespace jsoncons
1918
{

include/jsoncons/detail/span.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <type_traits> // std::enable_if, std::true_type, std::false_type
1515

1616
#include <jsoncons/config/compiler_support.hpp>
17-
#include <jsoncons/json_exception.hpp>
1817
#include <jsoncons/utility/extension_traits.hpp>
1918

2019
namespace jsoncons {

include/jsoncons/detail/string_view.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <string>
1818

1919
#include <jsoncons/config/compiler_support.hpp>
20-
#include <jsoncons/json_exception.hpp>
2120

2221
namespace jsoncons {
2322
namespace detail {

include/jsoncons/item_event_visitor.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99

1010
#include <cstddef>
1111
#include <cstdint>
12+
#include <system_error>
1213

1314
#include <jsoncons/config/compiler_support.hpp>
1415
#include <jsoncons/json_encoder.hpp>
1516
#include <jsoncons/json_exception.hpp>
1617
#include <jsoncons/json_visitor.hpp>
17-
#include <system_error>
18+
#include <jsoncons/ser_context.hpp>
1819
#include <jsoncons/tag_type.hpp>
1920
#include <jsoncons/utility/extension_traits.hpp>
2021

include/jsoncons_ext/jsonpath/expression.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#define JSONCONS_EXT_JSONPATH_EXPRESSION_HPP
99

1010
#include <cstddef>
11+
#include <cstdint>
1112
#include <exception>
13+
#include <memory>
1214
#include <set> // std::set
1315
#include <string> // std::basic_string
1416
#include <system_error>
@@ -18,6 +20,8 @@
1820
#include <utility> // std::move
1921
#include <vector> // std::vector
2022

23+
#include <jsoncons/config/jsoncons_config.hpp>
24+
#include <jsoncons/detail/parse_number.hpp>
2125
#include <jsoncons/json_type.hpp>
2226
#include <jsoncons/tag_type.hpp>
2327
#include <jsoncons/utility/extension_traits.hpp>

include/jsoncons_ext/jsonpath/flatten.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include <jsoncons/config/compiler_support.hpp>
1414
#include <jsoncons/json_type.hpp>
15-
#include <jsoncons/jsoncons_config.hpp>
15+
#include <jsoncons/config/jsoncons_config.hpp>
1616
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
1717
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>
1818

include/jsoncons_ext/jsonpath/json_location.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <utility> // std::move
1717
#include <vector>
1818

19+
#include <jsoncons/config/compiler_support.hpp>
1920
#include <jsoncons/config/jsoncons_config.hpp>
2021
#include <jsoncons/utility/extension_traits.hpp>
2122

include/jsoncons_ext/jsonpath/jsonpath_parser.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
#include <utility> // std::move
1717
#include <vector>
1818

19+
#include <jsoncons/config/compiler_support.hpp>
1920
#include <jsoncons/json_decoder.hpp>
2021
#include <jsoncons/json_parser.hpp>
22+
#include <jsoncons/ser_context.hpp>
2123
#include <jsoncons/tag_type.hpp>
2224

2325
#include <jsoncons_ext/jsonpath/expression.hpp>

include/jsoncons_ext/jsonpath/jsonpath_selector.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
#define JSONCONS_EXT_JSONPATH_JSONPATH_SELECTOR_HPP
99

1010
#include <cstddef>
11+
#include <cstdint>
1112
#include <memory>
1213
#include <string>
1314
#include <system_error>
1415
#include <utility> // std::move
1516
#include <vector>
1617

18+
#include <jsoncons/config/jsoncons_config.hpp>
1719
#include <jsoncons/tag_type.hpp>
1820

1921
#include <jsoncons_ext/jsonpath/expression.hpp>

0 commit comments

Comments
 (0)