From 60d5ee24e0612e43c2f1df742095a346202152a8 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 500758b7..c81cff37 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 4ae6bb53..a0ef3ed9 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 801d054d..3f2739c5 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 2ce53ed2..a3dd2985 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 69627df2..37a51a5d 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 ed07c7d7..779cf81a 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 2a5365bb..c43f51c6 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 5c4fdf92..405442e3 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 951a3214..d5eff223 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 b978fe59..e334cf38 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 4ed5be2d..0629a9e8 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 6a3a1bb9..7444e180 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 54d91c1b..7e8c339a 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 6e23fdc8..abe07c9e 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 678f8d2f..f8db4e7b 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 8675f730..8113a396 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 ad15b83f..3f1f39e4 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 e86b2f9f..44541e59 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 2611fdb2..df8f2d50 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 ad21b86b..2b1bf294 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 6b591d87..c0847921 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 c5c2a1dd..30577a44 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 d507d1b8..19abe5db 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 4c2adef1..2e5226b4 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 946a9efd..8a6713dd 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 3f4f47ef..8056f4e6 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 e5bb0608..524de7c8 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 df5392b5..f8b8e483 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 9a6ffb97..9b4d9b70 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 43f97a0c..65274d7a 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 d741e77e..cc22dfc8 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 6f364b25..082d1073 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 7fc975c4..1176a73e 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 817d0ce5..b152e7ad 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 cea52ab3..394a3f9b 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 c5ce2b41..93e60a70 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 4252ff3e..7678922d 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 c92e7503..ef5bba5c 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 7394cd47..fd240db2 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 f2cccc7f..0a99a8f6 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 903da8cc..88bbdb7a 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 b10677cd..f0983143 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 5939931a..d0496e77 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 d4b803d1..09304f9c 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 594744c8..70e076a1 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 20730540..c41704fa 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 3235ef9c..2a88a3e0 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 c3630eb2..fb92806f 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 0baf4c77..1ff76c23 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 5221eb8d..e4069f9e 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 4a3f0bab..0ec2d9ba 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 4ff15a6e..cc600aa8 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 86c67208..dd64a1a9 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 70fc48f1..decb9b89 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 1441ced4..7cde7815 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 3693f37e..5e139699 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 8a6436e5..545aa178 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 800cbe3b..17117738 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 ab01d2ad..edf5047a 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 ea76a482..8782f2c8 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 a28f2ea9..5a44a52e 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 770730a7..7773883a 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 8bfd3bd1..58cb74cd 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 f2213473..ec24b254 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 20ce1470..abd0bcc7 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 b4c7dd65..eeac991a 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