From 406a0788bc0535659a809c45a1c356cb5eb5cd7d Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Sat, 2 Mar 2024 01:20:25 -0300 Subject: [PATCH] refactor: source files have no header guards fix #819 --- src/authority_view.cpp | 3 --- src/decode_view.cpp | 3 --- src/detail/any_params_iter.cpp | 3 --- src/detail/any_segments_iter.cpp | 3 --- src/detail/decode.cpp | 3 --- src/detail/except.cpp | 3 --- src/detail/format_args.cpp | 3 --- src/detail/normalize.cpp | 4 +--- src/detail/params_iter_impl.cpp | 3 --- src/detail/pattern.cpp | 3 --- src/detail/pct_format.cpp | 3 --- src/detail/replacement_field_rule.cpp | 3 --- src/detail/segments_iter_impl.cpp | 3 --- src/detail/url_impl.cpp | 3 --- src/detail/vformat.cpp | 3 --- src/encoding_opts.cpp | 3 --- src/error.cpp | 3 --- src/grammar/ci_string.cpp | 3 --- src/grammar/dec_octet_rule.cpp | 3 --- src/grammar/delim_rule.cpp | 3 --- src/grammar/error.cpp | 3 --- src/grammar/literal_rule.cpp | 3 --- src/grammar/string_view_base.cpp | 3 --- src/ipv4_address.cpp | 3 --- src/ipv6_address.cpp | 3 --- src/params_base.cpp | 3 --- src/params_encoded_base.cpp | 3 --- src/params_encoded_ref.cpp | 3 --- src/params_encoded_view.cpp | 3 --- src/params_ref.cpp | 3 --- src/params_view.cpp | 3 --- src/parse.cpp | 3 --- src/parse_path.cpp | 3 --- src/parse_query.cpp | 3 --- src/pct_string_view.cpp | 3 --- src/rfc/absolute_uri_rule.cpp | 3 --- src/rfc/authority_rule.cpp | 3 --- src/rfc/detail/h16_rule.cpp | 4 ---- src/rfc/detail/hier_part_rule.cpp | 3 --- src/rfc/detail/host_rule.cpp | 3 --- src/rfc/detail/ip_literal_rule.cpp | 3 --- src/rfc/detail/ipv6_addrz_rule.cpp | 3 --- src/rfc/detail/ipvfuture_rule.cpp | 3 --- src/rfc/detail/port_rule.cpp | 3 --- src/rfc/detail/relative_part_rule.cpp | 3 --- src/rfc/detail/scheme_rule.cpp | 3 --- src/rfc/detail/userinfo_rule.cpp | 3 --- src/rfc/ipv4_address_rule.cpp | 3 --- src/rfc/ipv6_address_rule.cpp | 3 --- src/rfc/origin_form_rule.cpp | 3 --- src/rfc/query_rule.cpp | 3 --- src/rfc/relative_ref_rule.cpp | 3 --- src/rfc/uri_reference_rule.cpp | 3 --- src/rfc/uri_rule.cpp | 3 --- src/scheme.cpp | 3 --- src/segments_base.cpp | 3 --- src/segments_encoded_base.cpp | 3 --- src/segments_encoded_ref.cpp | 3 --- src/segments_encoded_view.cpp | 3 --- src/segments_ref.cpp | 3 --- src/segments_view.cpp | 3 --- src/static_url.cpp | 3 --- src/url.cpp | 3 --- src/url_base.cpp | 3 --- src/url_view.cpp | 3 --- src/url_view_base.cpp | 3 --- 66 files changed, 1 insertion(+), 199 deletions(-) diff --git a/src/authority_view.cpp b/src/authority_view.cpp index 500758b70..c81cff37e 100644 --- a/src/authority_view.cpp +++ b/src/authority_view.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_AUTHORITY_VIEW_IPP -#define BOOST_URL_IMPL_AUTHORITY_VIEW_IPP #include #include @@ -405,4 +403,3 @@ compare(const authority_view& other) const noexcept } // urls } // boost -#endif diff --git a/src/decode_view.cpp b/src/decode_view.cpp index 4ae6bb530..a0ef3ed91 100644 --- a/src/decode_view.cpp +++ b/src/decode_view.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_DECODE_VIEW_IPP -#define BOOST_URL_IMPL_DECODE_VIEW_IPP #include #include @@ -232,4 +230,3 @@ rfind( char ch ) const noexcept } // urls } // boost -#endif diff --git a/src/detail/any_params_iter.cpp b/src/detail/any_params_iter.cpp index 801d054d9..3f2739c50 100644 --- a/src/detail/any_params_iter.cpp +++ b/src/detail/any_params_iter.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_ANY_PARAMS_ITER_IPP -#define BOOST_URL_DETAIL_IMPL_ANY_PARAMS_ITER_IPP #include #include @@ -506,4 +504,3 @@ copy( } // urls } // boost -#endif diff --git a/src/detail/any_segments_iter.cpp b/src/detail/any_segments_iter.cpp index 2ce53ed2e..a3dd29850 100644 --- a/src/detail/any_segments_iter.cpp +++ b/src/detail/any_segments_iter.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_ANY_SEGMENTS_ITER_IPP -#define BOOST_URL_DETAIL_IMPL_ANY_SEGMENTS_ITER_IPP #include #include "../rfc/detail/charsets.hpp" @@ -229,4 +227,3 @@ copy_impl( } // urls } // boost -#endif diff --git a/src/detail/decode.cpp b/src/detail/decode.cpp index 69627df2b..37a51a5d1 100644 --- a/src/detail/decode.cpp +++ b/src/detail/decode.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_DECODE_IPP -#define BOOST_URL_DETAIL_IMPL_DECODE_IPP #include #include "decode.hpp" @@ -138,4 +136,3 @@ decode_unsafe( } // urls } // boost -#endif diff --git a/src/detail/except.cpp b/src/detail/except.cpp index ed07c7d77..779cf81af 100644 --- a/src/detail/except.cpp +++ b/src/detail/except.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_EXCEPT_IPP -#define BOOST_URL_DETAIL_IMPL_EXCEPT_IPP #include #include @@ -56,4 +54,3 @@ throw_length_error( } // url } // boost -#endif diff --git a/src/detail/format_args.cpp b/src/detail/format_args.cpp index 2a5365bb3..c43f51c69 100644 --- a/src/detail/format_args.cpp +++ b/src/detail/format_args.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_FORMAT_ARGS_IPP -#define BOOST_URL_DETAIL_IMPL_FORMAT_ARGS_IPP #include #include @@ -648,4 +646,3 @@ grammar::lut_chars const& cs) const } // urls } // boost -#endif diff --git a/src/detail/normalize.cpp b/src/detail/normalize.cpp index 5c4fdf923..405442e39 100644 --- a/src/detail/normalize.cpp +++ b/src/detail/normalize.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_NORMALIZE_IPP -#define BOOST_URL_DETAIL_IMPL_NORMALIZE_IPP #include #include @@ -906,4 +904,4 @@ segments_compare( } // urls } // boost -#endif + diff --git a/src/detail/params_iter_impl.cpp b/src/detail/params_iter_impl.cpp index 951a32149..d5eff2239 100644 --- a/src/detail/params_iter_impl.cpp +++ b/src/detail/params_iter_impl.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_PARAMS_ITER_IMPL_IPP -#define BOOST_URL_DETAIL_IMPL_PARAMS_ITER_IMPL_IPP #include #include @@ -243,4 +241,3 @@ key() const noexcept } // url } // boost -#endif diff --git a/src/detail/pattern.cpp b/src/detail/pattern.cpp index b978fe594..e334cf381 100644 --- a/src/detail/pattern.cpp +++ b/src/detail/pattern.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_PATTERN_IPP -#define BOOST_URL_DETAIL_IMPL_PATTERN_IPP #include #include "pattern.hpp" @@ -947,4 +945,3 @@ parse_pattern( } // urls } // boost -#endif diff --git a/src/detail/pct_format.cpp b/src/detail/pct_format.cpp index 4ed5be2d2..0629a9e81 100644 --- a/src/detail/pct_format.cpp +++ b/src/detail/pct_format.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_PCT_FORMAT_IPP -#define BOOST_URL_DETAIL_IMPL_PCT_FORMAT_IPP #include #include "pct_format.hpp" @@ -215,4 +213,3 @@ pct_vformat( } // urls } // boost -#endif diff --git a/src/detail/replacement_field_rule.cpp b/src/detail/replacement_field_rule.cpp index 6a3a1bb99..7444e180d 100644 --- a/src/detail/replacement_field_rule.cpp +++ b/src/detail/replacement_field_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_REPLACEMENT_FIELD_RULE_IPP -#define BOOST_URL_DETAIL_IMPL_REPLACEMENT_FIELD_RULE_IPP #include #include "boost/url/detail/replacement_field_rule.hpp" @@ -135,4 +133,3 @@ parse( } // urls } // boost -#endif diff --git a/src/detail/segments_iter_impl.cpp b/src/detail/segments_iter_impl.cpp index 54d91c1b4..7e8c339a9 100644 --- a/src/detail/segments_iter_impl.cpp +++ b/src/detail/segments_iter_impl.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_SEGMENTS_ITER_IMPL_IPP -#define BOOST_URL_DETAIL_IMPL_SEGMENTS_ITER_IMPL_IPP #include #include "path.hpp" @@ -172,4 +170,3 @@ decrement() noexcept } // url } // boost -#endif diff --git a/src/detail/url_impl.cpp b/src/detail/url_impl.cpp index 6e23fdc83..abe07c9ec 100644 --- a/src/detail/url_impl.cpp +++ b/src/detail/url_impl.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_URL_IMPL_IPP -#define BOOST_URL_DETAIL_IMPL_URL_IMPL_IPP #include #include "path.hpp" @@ -530,4 +528,3 @@ nparam() const noexcept } // urls } // boost -#endif diff --git a/src/detail/vformat.cpp b/src/detail/vformat.cpp index 678f8d2f6..f8db4e7ba 100644 --- a/src/detail/vformat.cpp +++ b/src/detail/vformat.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_VFORMAT_IPP -#define BOOST_URL_DETAIL_VFORMAT_IPP #include #include @@ -33,4 +31,3 @@ vformat_to( } // urls } // boost -#endif diff --git a/src/encoding_opts.cpp b/src/encoding_opts.cpp index 8675f730b..8113a3963 100644 --- a/src/encoding_opts.cpp +++ b/src/encoding_opts.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_ENCONDING_OPTS_IPP -#define BOOST_URL_IMPL_ENCONDING_OPTS_IPP #include #include @@ -29,4 +27,3 @@ encoding_opts( } // urls } // boost -#endif diff --git a/src/error.cpp b/src/error.cpp index ad15b83f3..3f1f39e4b 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_ERROR_IPP -#define BOOST_URL_IMPL_ERROR_IPP #include #include @@ -94,4 +92,3 @@ error_cat_type error_cat; } // urls } // boost -#endif diff --git a/src/grammar/ci_string.cpp b/src/grammar/ci_string.cpp index e86b2f9fb..44541e592 100644 --- a/src/grammar/ci_string.cpp +++ b/src/grammar/ci_string.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_GRAMMAR_IMPL_CI_STRING_IPP -#define BOOST_URL_GRAMMAR_IMPL_CI_STRING_IPP #include #include @@ -152,4 +150,3 @@ ci_digest( } // urls } // boost -#endif diff --git a/src/grammar/dec_octet_rule.cpp b/src/grammar/dec_octet_rule.cpp index 2611fdb2f..df8f2d505 100644 --- a/src/grammar/dec_octet_rule.cpp +++ b/src/grammar/dec_octet_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_GRAMMAR_DEC_OCTET_RULE_IPP -#define BOOST_URL_IMPL_GRAMMAR_DEC_OCTET_RULE_IPP #include #include @@ -91,4 +89,3 @@ parse( } // urls } // boost -#endif diff --git a/src/grammar/delim_rule.cpp b/src/grammar/delim_rule.cpp index ad21b86b3..2b1bf294d 100644 --- a/src/grammar/delim_rule.cpp +++ b/src/grammar/delim_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_GRAMMAR_IMPL_DELIM_RULE_IPP -#define BOOST_URL_GRAMMAR_IMPL_DELIM_RULE_IPP #include #include @@ -45,4 +43,3 @@ parse( } // urls } // boost -#endif diff --git a/src/grammar/error.cpp b/src/grammar/error.cpp index 6b591d878..c0847921e 100644 --- a/src/grammar/error.cpp +++ b/src/grammar/error.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_GRAMMAR_IMPL_ERROR_IPP -#define BOOST_URL_GRAMMAR_IMPL_ERROR_IPP #include #include @@ -119,4 +117,3 @@ condition_cat_type condition_cat; } // urls } // boost -#endif diff --git a/src/grammar/literal_rule.cpp b/src/grammar/literal_rule.cpp index c5c2a1ddc..30577a44b 100644 --- a/src/grammar/literal_rule.cpp +++ b/src/grammar/literal_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_GRAMMAR_IMPL_LITERAL_RULE_IPP -#define BOOST_URL_GRAMMAR_IMPL_LITERAL_RULE_IPP #include #include @@ -68,4 +66,3 @@ parse( } // urls } // boost -#endif diff --git a/src/grammar/string_view_base.cpp b/src/grammar/string_view_base.cpp index d507d1b8a..19abe5dbd 100644 --- a/src/grammar/string_view_base.cpp +++ b/src/grammar/string_view_base.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_STRING_VIEW_BASE_IPP -#define BOOST_URL_IMPL_STRING_VIEW_BASE_IPP #include #include @@ -30,5 +28,4 @@ operator<<( } // urls } // boost -#endif diff --git a/src/ipv4_address.cpp b/src/ipv4_address.cpp index 4c2adef16..2e5226b48 100644 --- a/src/ipv4_address.cpp +++ b/src/ipv4_address.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_IPV4_ADDRESS_IPP -#define BOOST_URL_IMPL_IPV4_ADDRESS_IPP #include #include @@ -166,4 +164,3 @@ parse_ipv4_address( } // urls } // boost -#endif diff --git a/src/ipv6_address.cpp b/src/ipv6_address.cpp index 946a9efd8..8a6713dde 100644 --- a/src/ipv6_address.cpp +++ b/src/ipv6_address.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_IPV6_ADDRESS_IPP -#define BOOST_URL_IMPL_IPV6_ADDRESS_IPP #include #include @@ -251,4 +249,3 @@ parse_ipv6_address( } // urls } // boost -#endif diff --git a/src/params_base.cpp b/src/params_base.cpp index 3f4f47efb..8056f4e64 100644 --- a/src/params_base.cpp +++ b/src/params_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARAMS_BASE_IPP -#define BOOST_URL_IMPL_PARAMS_BASE_IPP #include #include @@ -285,4 +283,3 @@ operator<<( } // urls } // boost -#endif diff --git a/src/params_encoded_base.cpp b/src/params_encoded_base.cpp index e5bb06088..524de7c8f 100644 --- a/src/params_encoded_base.cpp +++ b/src/params_encoded_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARAMS_ENCODED_BASE_IPP -#define BOOST_URL_IMPL_PARAMS_ENCODED_BASE_IPP #include #include @@ -192,4 +190,3 @@ operator<<( } // urls } // boost -#endif diff --git a/src/params_encoded_ref.cpp b/src/params_encoded_ref.cpp index df5392b5d..f8b8e483f 100644 --- a/src/params_encoded_ref.cpp +++ b/src/params_encoded_ref.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARAMS_ENCODED_REF_IPP -#define BOOST_URL_IMPL_PARAMS_ENCODED_REF_IPP #include #include @@ -314,4 +312,3 @@ find_last_impl( } // urls } // boost -#endif diff --git a/src/params_encoded_view.cpp b/src/params_encoded_view.cpp index 9a6ffb971..9b4d9b70c 100644 --- a/src/params_encoded_view.cpp +++ b/src/params_encoded_view.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/CPPAlliance/url // -#ifndef BOOST_URL_IMPL_PARAMS_ENCODED_VIEW_IPP -#define BOOST_URL_IMPL_PARAMS_ENCODED_VIEW_IPP #include #include @@ -44,4 +42,3 @@ params_view() const noexcept } // urls } // boost -#endif diff --git a/src/params_ref.cpp b/src/params_ref.cpp index 43f97a0c1..65274d7a7 100644 --- a/src/params_ref.cpp +++ b/src/params_ref.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARAMS_REF_IPP -#define BOOST_URL_IMPL_PARAMS_REF_IPP #include #include @@ -307,4 +305,3 @@ find_last_impl( } // urls } // boost -#endif diff --git a/src/params_view.cpp b/src/params_view.cpp index d741e77e4..cc22dfc89 100644 --- a/src/params_view.cpp +++ b/src/params_view.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/CPPAlliance/url // -#ifndef BOOST_URL_IMPL_PARAMS_VIEW_IPP -#define BOOST_URL_IMPL_PARAMS_VIEW_IPP #include #include @@ -60,4 +58,3 @@ params_view( } // urls } // boost -#endif diff --git a/src/parse.cpp b/src/parse.cpp index 6f364b25a..082d1073b 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARSE_IPP -#define BOOST_URL_IMPL_PARSE_IPP #include #include @@ -65,4 +63,3 @@ parse_uri_reference( } // urls } // boost -#endif diff --git a/src/parse_path.cpp b/src/parse_path.cpp index 7fc975c44..1176a73e8 100644 --- a/src/parse_path.cpp +++ b/src/parse_path.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PARSE_PATH_IPP -#define BOOST_URL_IMPL_PARSE_PATH_IPP #include #include @@ -60,4 +58,3 @@ parse_path(core::string_view s) noexcept } // urls } // boost -#endif diff --git a/src/parse_query.cpp b/src/parse_query.cpp index 817d0ce58..b152e7ad9 100644 --- a/src/parse_query.cpp +++ b/src/parse_query.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/CPPAlliance/url // -#ifndef BOOST_URL_IMPL_PARSE_QUERY_IPP -#define BOOST_URL_IMPL_PARSE_QUERY_IPP #include #include @@ -43,4 +41,3 @@ parse_query(core::string_view s) noexcept } // urls } // boost -#endif diff --git a/src/pct_string_view.cpp b/src/pct_string_view.cpp index cea52ab3e..394a3f9b0 100644 --- a/src/pct_string_view.cpp +++ b/src/pct_string_view.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PCT_STRING_VIEW_IPP -#define BOOST_URL_IMPL_PCT_STRING_VIEW_IPP #include #include @@ -93,5 +91,4 @@ make_pct_string_view( } // urls } // boost -#endif diff --git a/src/rfc/absolute_uri_rule.cpp b/src/rfc/absolute_uri_rule.cpp index c5ce2b417..93e60a708 100644 --- a/src/rfc/absolute_uri_rule.cpp +++ b/src/rfc/absolute_uri_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_ABSOLUTE_URI_RULE_IPP -#define BOOST_URL_RFC_IMPL_ABSOLUTE_URI_RULE_IPP #include #include @@ -83,4 +81,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/authority_rule.cpp b/src/rfc/authority_rule.cpp index 4252ff3e1..7678922d3 100644 --- a/src/rfc/authority_rule.cpp +++ b/src/rfc/authority_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_AUTHORITY_RULE_IPP -#define BOOST_URL_RFC_IMPL_AUTHORITY_RULE_IPP #include #include @@ -83,4 +81,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/h16_rule.cpp b/src/rfc/detail/h16_rule.cpp index c92e75036..ef5bba5c8 100644 --- a/src/rfc/detail/h16_rule.cpp +++ b/src/rfc/detail/h16_rule.cpp @@ -7,9 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_H16_RULE_HPP -#define BOOST_URL_RFC_DETAIL_IMPL_H16_RULE_HPP - #include #include "h16_rule.hpp" #include @@ -84,4 +81,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/hier_part_rule.cpp b/src/rfc/detail/hier_part_rule.cpp index 7394cd470..fd240db2a 100644 --- a/src/rfc/detail/hier_part_rule.cpp +++ b/src/rfc/detail/hier_part_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_HIER_PART_RULE_IPP -#define BOOST_URL_RFC_DETAIL_IMPL_HIER_PART_RULE_IPP #include #include "hier_part_rule.hpp" @@ -116,4 +114,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/host_rule.cpp b/src/rfc/detail/host_rule.cpp index f2cccc7ff..0a99a8f68 100644 --- a/src/rfc/detail/host_rule.cpp +++ b/src/rfc/detail/host_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_HOST_RULE_IPP -#define BOOST_URL_RFC_DETAIL_IMPL_HOST_RULE_IPP #include #include @@ -131,4 +129,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/ip_literal_rule.cpp b/src/rfc/detail/ip_literal_rule.cpp index 903da8ccc..88bbdb7a0 100644 --- a/src/rfc/detail/ip_literal_rule.cpp +++ b/src/rfc/detail/ip_literal_rule.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_IP_LITERAL_RULE_IPP -#define BOOST_URL_IMPL_IP_LITERAL_RULE_IPP #include #include @@ -97,4 +95,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/ipv6_addrz_rule.cpp b/src/rfc/detail/ipv6_addrz_rule.cpp index b10677cdc..f09831437 100644 --- a/src/rfc/detail/ipv6_addrz_rule.cpp +++ b/src/rfc/detail/ipv6_addrz_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_IPV6_ADDRZ_RULE_IPP -#define BOOST_URL_RFC_DETAIL_IMPL_IPV6_ADDRZ_RULE_IPP #include #include @@ -71,4 +69,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/ipvfuture_rule.cpp b/src/rfc/detail/ipvfuture_rule.cpp index 5939931ac..d0496e771 100644 --- a/src/rfc/detail/ipvfuture_rule.cpp +++ b/src/rfc/detail/ipvfuture_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_DETAIL_IMPL_IPVFUTURE_RULE_IPP -#define BOOST_URL_DETAIL_IMPL_IPVFUTURE_RULE_IPP #include #include "ipvfuture_rule.hpp" @@ -72,4 +70,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/port_rule.cpp b/src/rfc/detail/port_rule.cpp index d4b803d18..09304f9c1 100644 --- a/src/rfc/detail/port_rule.cpp +++ b/src/rfc/detail/port_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_PORT_RULE_IPP -#define BOOST_URL_IMPL_PORT_RULE_IPP #include #include "port_rule.hpp" @@ -104,4 +102,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/relative_part_rule.cpp b/src/rfc/detail/relative_part_rule.cpp index 594744c85..70e076a1d 100644 --- a/src/rfc/detail/relative_part_rule.cpp +++ b/src/rfc/detail/relative_part_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_RELATIVE_PART_RULE_IPP -#define BOOST_URL_RFC_DETAIL_IMPL_RELATIVE_PART_RULE_IPP #include #include "relative_part_rule.hpp" @@ -126,4 +124,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/scheme_rule.cpp b/src/rfc/detail/scheme_rule.cpp index 207305406..c41704faf 100644 --- a/src/rfc/detail/scheme_rule.cpp +++ b/src/rfc/detail/scheme_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SCHEME_RULE_IPP -#define BOOST_URL_IMPL_SCHEME_RULE_IPP #include #include "scheme_rule.hpp" @@ -63,4 +61,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/detail/userinfo_rule.cpp b/src/rfc/detail/userinfo_rule.cpp index 3235ef9c9..2a88a3e0b 100644 --- a/src/rfc/detail/userinfo_rule.cpp +++ b/src/rfc/detail/userinfo_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_DETAIL_IMPL_USERINFO_RULE_IPP -#define BOOST_URL_RFC_DETAIL_IMPL_USERINFO_RULE_IPP #include #include "userinfo_rule.hpp" @@ -72,4 +70,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/ipv4_address_rule.cpp b/src/rfc/ipv4_address_rule.cpp index c3630eb20..fb92806f9 100644 --- a/src/rfc/ipv4_address_rule.cpp +++ b/src/rfc/ipv4_address_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_IPV4_ADDRESS_RULE_IPP -#define BOOST_URL_RFC_IMPL_IPV4_ADDRESS_RULE_IPP #include #include @@ -48,4 +46,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/ipv6_address_rule.cpp b/src/rfc/ipv6_address_rule.cpp index 0baf4c771..1ff76c23f 100644 --- a/src/rfc/ipv6_address_rule.cpp +++ b/src/rfc/ipv6_address_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_IPV6_ADDRESS_RULE_IPP -#define BOOST_URL_RFC_IMPL_IPV6_ADDRESS_RULE_IPP #include #include @@ -228,4 +226,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/origin_form_rule.cpp b/src/rfc/origin_form_rule.cpp index 5221eb8dc..e4069f9e1 100644 --- a/src/rfc/origin_form_rule.cpp +++ b/src/rfc/origin_form_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_ORIGIN_FORM_RULE_IPP -#define BOOST_URL_RFC_IMPL_ORIGIN_FORM_RULE_IPP #include #include @@ -69,4 +67,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/query_rule.cpp b/src/rfc/query_rule.cpp index 4a3f0bab3..0ec2d9ba2 100644 --- a/src/rfc/query_rule.cpp +++ b/src/rfc/query_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_QUERY_RULE_IPP -#define BOOST_URL_RFC_IMPL_QUERY_RULE_IPP #include #include @@ -83,4 +81,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/relative_ref_rule.cpp b/src/rfc/relative_ref_rule.cpp index 4ff15a6ec..cc600aa8c 100644 --- a/src/rfc/relative_ref_rule.cpp +++ b/src/rfc/relative_ref_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_RELATIVE_REF_RULE_IPP -#define BOOST_URL_RFC_IMPL_RELATIVE_REF_RULE_IPP #include #include @@ -80,4 +78,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/uri_reference_rule.cpp b/src/rfc/uri_reference_rule.cpp index 86c67208c..dd64a1a9b 100644 --- a/src/rfc/uri_reference_rule.cpp +++ b/src/rfc/uri_reference_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_URI_REFERENCE_RULE_IPP -#define BOOST_URL_RFC_IMPL_URI_REFERENCE_RULE_IPP #include #include @@ -49,4 +47,3 @@ parse( } // urls } // boost -#endif diff --git a/src/rfc/uri_rule.cpp b/src/rfc/uri_rule.cpp index 70fc48f18..decb9b89d 100644 --- a/src/rfc/uri_rule.cpp +++ b/src/rfc/uri_rule.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_RFC_IMPL_URI_RULE_IPP -#define BOOST_URL_RFC_IMPL_URI_RULE_IPP #include #include @@ -95,4 +93,3 @@ parse( } // urls } // boost -#endif diff --git a/src/scheme.cpp b/src/scheme.cpp index 1441ced47..7cde78157 100644 --- a/src/scheme.cpp +++ b/src/scheme.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SCHEME_IPP -#define BOOST_URL_IMPL_SCHEME_IPP #include #include @@ -130,4 +128,3 @@ default_port(scheme s) noexcept } // urls } // boost -#endif diff --git a/src/segments_base.cpp b/src/segments_base.cpp index 3693f37ea..5e1396998 100644 --- a/src/segments_base.cpp +++ b/src/segments_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_BASE_IPP -#define BOOST_URL_IMPL_SEGMENTS_BASE_IPP #include #include @@ -117,4 +115,3 @@ operator<<( } // urls } // boost -#endif diff --git a/src/segments_encoded_base.cpp b/src/segments_encoded_base.cpp index 8a6436e54..545aa1780 100644 --- a/src/segments_encoded_base.cpp +++ b/src/segments_encoded_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_ENCODED_BASE_IPP -#define BOOST_URL_IMPL_SEGMENTS_ENCODED_BASE_IPP #include #include @@ -113,4 +111,3 @@ operator<<( } // urls } // boost -#endif diff --git a/src/segments_encoded_ref.cpp b/src/segments_encoded_ref.cpp index 800cbe3b1..17117738b 100644 --- a/src/segments_encoded_ref.cpp +++ b/src/segments_encoded_ref.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_ENCODED_REF_IPP -#define BOOST_URL_IMPL_SEGMENTS_ENCODED_REF_IPP #include #include @@ -172,4 +170,3 @@ replace( } // urls } // boost -#endif diff --git a/src/segments_encoded_view.cpp b/src/segments_encoded_view.cpp index ab01d2ad6..edf5047ae 100644 --- a/src/segments_encoded_view.cpp +++ b/src/segments_encoded_view.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_ENCODED_VIEW_IPP -#define BOOST_URL_IMPL_SEGMENTS_ENCODED_VIEW_IPP #include #include @@ -44,4 +42,3 @@ segments_view() const noexcept } // urls } // boost -#endif diff --git a/src/segments_ref.cpp b/src/segments_ref.cpp index ea76a4824..8782f2c82 100644 --- a/src/segments_ref.cpp +++ b/src/segments_ref.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_REF_IPP -#define BOOST_URL_IMPL_SEGMENTS_REF_IPP #include #include @@ -171,4 +169,3 @@ replace( } // urls } // boost -#endif diff --git a/src/segments_view.cpp b/src/segments_view.cpp index a28f2ea92..5a44a52e5 100644 --- a/src/segments_view.cpp +++ b/src/segments_view.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_SEGMENTS_VIEW_IPP -#define BOOST_URL_IMPL_SEGMENTS_VIEW_IPP #include #include @@ -37,4 +35,3 @@ segments_view( } // urls } // boost -#endif diff --git a/src/static_url.cpp b/src/static_url.cpp index 770730a77..7773883a3 100644 --- a/src/static_url.cpp +++ b/src/static_url.cpp @@ -7,8 +7,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_STATIC_URL_IPP -#define BOOST_URL_IMPL_STATIC_URL_IPP #include #include @@ -73,4 +71,3 @@ cleanup(op_t&) } // urls } // boost -#endif diff --git a/src/url.cpp b/src/url.cpp index 8bfd3bd10..58cb74cd8 100644 --- a/src/url.cpp +++ b/src/url.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_URL_IPP -#define BOOST_URL_IMPL_URL_IPP #include #include @@ -170,4 +168,3 @@ swap(url& other) noexcept } // urls } // boost -#endif diff --git a/src/url_base.cpp b/src/url_base.cpp index f2213473b..ec24b2543 100644 --- a/src/url_base.cpp +++ b/src/url_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_URL_BASE_IPP -#define BOOST_URL_IMPL_URL_BASE_IPP #include #include @@ -2843,4 +2841,3 @@ to_lower_impl(int id) noexcept } // urls } // boost -#endif diff --git a/src/url_view.cpp b/src/url_view.cpp index 20ce1470c..abd0bcc75 100644 --- a/src/url_view.cpp +++ b/src/url_view.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_URL_VIEW_IPP -#define BOOST_URL_IMPL_URL_VIEW_IPP #include #include @@ -81,4 +79,3 @@ operator=( } // urls } // boost -#endif diff --git a/src/url_view_base.cpp b/src/url_view_base.cpp index b4c7dd652..eeac991ab 100644 --- a/src/url_view_base.cpp +++ b/src/url_view_base.cpp @@ -8,8 +8,6 @@ // Official repository: https://github.com/boostorg/url // -#ifndef BOOST_URL_IMPL_URL_VIEW_BASE_IPP -#define BOOST_URL_IMPL_URL_VIEW_BASE_IPP #include #include @@ -731,4 +729,3 @@ compare(const url_view_base& other) const noexcept } // urls } // boost -#endif