Skip to content

Commit 0faf2ae

Browse files
committed
tidy includes
1 parent 384cb72 commit 0faf2ae

30 files changed

+22
-15
lines changed

include/jsoncons/byte_string.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <utility> // std::move
2121
#include <vector>
2222

23+
#include <jsoncons/config/compiler_support.hpp>
2324
#include <jsoncons/config/jsoncons_config.hpp>
2425
#include <jsoncons/conv_error.hpp>
2526
#include <jsoncons/utility/extension_traits.hpp>

include/jsoncons/decode_json.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <istream> // std::basic_istream
1212
#include <tuple>
1313

14+
#include <jsoncons/config/compiler_support.hpp>
1415
#include <jsoncons/allocator_set.hpp>
1516
#include <jsoncons/decode_traits.hpp>
1617
#include <jsoncons/json_cursor.hpp>

include/jsoncons/decode_traits.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <jsoncons/json_type_traits.hpp>
2626
#include <jsoncons/json_visitor.hpp>
2727
#include <jsoncons/ser_context.hpp>
28+
#include <jsoncons/staj_event.hpp>
2829
#include <jsoncons/staj_cursor.hpp>
2930
#include <jsoncons/tag_type.hpp>
3031

include/jsoncons/detail/parse_number.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <type_traits> // std::enable_if
1818
#include <vector>
1919

20+
#include <jsoncons/config/compiler_support.hpp>
2021
#include <jsoncons/config/jsoncons_config.hpp>
2122
#include <jsoncons/json_exception.hpp>
2223
#include <jsoncons/utility/extension_traits.hpp>

include/jsoncons/detail/string_view.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <algorithm> // std::find, std::min, std::reverse
1111
#include <cmath>
1212
#include <cstddef>
13-
#include <istream> // std::basic_istream
1413
#include <iterator>
1514
#include <ostream>
1615
#include <stdexcept>

include/jsoncons/detail/write_number.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <string>
1818
#include <type_traits>
1919

20+
#include <jsoncons/config/compiler_support.hpp>
2021
#include <jsoncons/config/jsoncons_config.hpp>
2122
#include <jsoncons/detail/grisu3.hpp>
2223
#include <jsoncons/detail/parse_number.hpp>

include/jsoncons/encode_json.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#define JSONCONS_ENCODE_JSON_HPP
99

1010
#include <iostream>
11-
#include <istream> // std::basic_istream
1211
#include <system_error>
1312
#include <tuple>
1413

include/jsoncons/json_cursor.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

16+
#include <jsoncons/config/compiler_support.hpp>
1717
#include <jsoncons/byte_string.hpp>
1818
#include <jsoncons/config/jsoncons_config.hpp>
1919
#include <jsoncons/json_exception.hpp>

include/jsoncons/json_filter.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <string>
1313
#include <system_error>
1414

15+
#include <jsoncons/config/compiler_support.hpp>
1516
#include <jsoncons/byte_string.hpp>
1617
#include <jsoncons/json_exception.hpp>
1718
#include <jsoncons/json_visitor.hpp>

include/jsoncons/json_object.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <utility> // std::move
2222
#include <vector>
2323

24+
#include <jsoncons/config/compiler_support.hpp>
2425
#include <jsoncons/allocator_holder.hpp>
2526
#include <jsoncons/json_array.hpp>
2627
#include <jsoncons/json_exception.hpp>

include/jsoncons/json_type_traits.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#include <valarray>
2525
#include <vector>
2626

27+
#include <jsoncons/config/compiler_support.hpp>
28+
#include <jsoncons/config/jsoncons_config.hpp>
2729
#include <jsoncons/byte_string.hpp>
2830
#include <jsoncons/conv_error.hpp>
2931
#include <jsoncons/json_type.hpp>

include/jsoncons/staj_iterator.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <jsoncons/basic_json.hpp>
2222
#include <jsoncons/decode_traits.hpp>
2323
#include <jsoncons/json_exception.hpp>
24+
#include <jsoncons/staj_event.hpp>
2425
#include <jsoncons/staj_cursor.hpp>
2526

2627
namespace jsoncons {

include/jsoncons/utility/uri.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <type_traits>
1717
#include <utility>
1818

19+
#include <jsoncons/config/compiler_support.hpp>
1920
#include <jsoncons/config/jsoncons_config.hpp>
2021
#include <jsoncons/detail/parse_number.hpp>
2122
#include <jsoncons/detail/write_number.hpp>

include/jsoncons_ext/bson/bson_cursor.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

@@ -20,6 +19,7 @@
2019
#include <jsoncons/json_visitor.hpp>
2120
#include <jsoncons/ser_context.hpp>
2221
#include <jsoncons/source.hpp>
22+
#include <jsoncons/staj_event.hpp>
2323
#include <jsoncons/staj_cursor.hpp>
2424
#include <jsoncons_ext/bson/bson_parser.hpp>
2525

include/jsoncons_ext/bson/encode_bson.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#ifndef JSONCONS_EXT_BSON_ENCODE_BSON_HPP
88
#define JSONCONS_EXT_BSON_ENCODE_BSON_HPP
99

10-
#include <istream> // std::basic_istream
1110
#include <ostream> // std::basic_ostream
1211
#include <type_traits> // std::enable_if
1312

include/jsoncons_ext/cbor/cbor_cursor.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

include/jsoncons_ext/cbor/cbor_event_reader.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

include/jsoncons_ext/cbor/encode_cbor.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#ifndef JSONCONS_EXT_CBOR_ENCODE_CBOR_HPP
88
#define JSONCONS_EXT_CBOR_ENCODE_CBOR_HPP
99

10-
#include <istream> // std::basic_istream
1110
#include <ostream> // std::basic_ostream
1211
#include <type_traits> // std::enable_if
1312

include/jsoncons_ext/csv/csv_cursor.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

include/jsoncons_ext/csv/csv_parser.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <jsoncons/json_reader.hpp>
2727
#include <jsoncons/json_visitor.hpp>
2828
#include <jsoncons/ser_context.hpp>
29+
#include <jsoncons/staj_event.hpp>
2930
#include <jsoncons/tag_type.hpp>
3031

3132
#include <jsoncons_ext/csv/csv_error.hpp>

include/jsoncons_ext/csv/csv_reader.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include <cstddef>
1111
#include <functional>
12-
#include <istream> // std::basic_istream
1312
#include <memory> // std::allocator
1413
#include <system_error>
1514
#include <utility> // std::move

include/jsoncons_ext/jmespath/jmespath.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include <vector>
2323

2424
#include <jsoncons/config/compiler_support.hpp>
25+
#include <jsoncons/json_type.hpp>
26+
#include <jsoncons/tag_type.hpp>
2527
#include <jsoncons/utility/unicode_traits.hpp>
2628

2729
#include <jsoncons_ext/jmespath/jmespath_error.hpp>

include/jsoncons_ext/jsonpath/flatten.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
#include <jsoncons/config/compiler_support.hpp>
1515
#include <jsoncons/detail/parse_number.hpp>
16+
#include <jsoncons/detail/write_number.hpp>
1617
#include <jsoncons/json_type.hpp>
18+
#include <jsoncons/tag_type.hpp>
1719

1820
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
1921
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>

include/jsoncons_ext/jsonpointer/jsonpointer.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include <vector>
1818

1919
#include <jsoncons/detail/write_number.hpp>
20+
#include <jsoncons/json_type.hpp>
21+
#include <jsoncons/tag_type.hpp>
2022
#include <jsoncons/utility/extension_traits.hpp>
2123

2224
#include <jsoncons_ext/jsonpointer/jsonpointer_error.hpp>

include/jsoncons_ext/jsonschema/common/keyword_validators.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <vector>
1919

2020
#include <jsoncons/config/jsoncons_config.hpp>
21+
#include <jsoncons/tag_type.hpp>
2122
#include <jsoncons/utility/unicode_traits.hpp>
2223
#include <jsoncons/utility/uri.hpp>
2324

include/jsoncons_ext/msgpack/encode_msgpack.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#ifndef JSONCONS_EXT_MSGPACK_ENCODE_MSGPACK_HPP
88
#define JSONCONS_EXT_MSGPACK_ENCODE_MSGPACK_HPP
99

10-
#include <istream> // std::basic_istream
1110
#include <ostream> // std::basic_ostream
1211

1312
#include <jsoncons/config/compiler_support.hpp>
1413
#include <jsoncons/config/jsoncons_config.hpp>
14+
#include <jsoncons/basic_json.hpp>
1515

1616
#include <jsoncons_ext/msgpack/msgpack_encoder.hpp>
1717
#include <jsoncons_ext/msgpack/msgpack_reader.hpp>

include/jsoncons_ext/msgpack/msgpack_cursor.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

include/jsoncons_ext/msgpack/msgpack_event_reader.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <system_error>
1615

include/jsoncons_ext/ubjson/encode_ubjson.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#ifndef JSONCONS_EXT_UBJSON_ENCODE_UBJSON_HPP
88
#define JSONCONS_EXT_UBJSON_ENCODE_UBJSON_HPP
99

10-
#include <istream> // std::basic_istream
1110
#include <ostream> // std::basic_ostream
1211
#include <type_traits> // std::enable_if
1312

include/jsoncons_ext/ubjson/ubjson_cursor.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <cstddef>
1111
#include <functional>
1212
#include <ios>
13-
#include <istream> // std::basic_istream
1413
#include <memory> // std::allocator
1514
#include <stdexcept>
1615
#include <system_error>

0 commit comments

Comments
 (0)