Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7906db1

Browse files
committed
Fixing ODR violation with parse_specific and parse_url function.
1 parentfa0a950 commit7906db1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎boost/network/uri/detail/parse_uri.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ namespace boost { namespace network { namespace uri {
1414
namespacedetail {
1515

1616
template<classRange,classTag>
17-
boolparse_specific(Range & range, uri_parts<Tag> & parts) {
17+
inlineboolparse_specific(Range & range, uri_parts<Tag> & parts) {
1818
returntrue;
1919
}
2020

2121
template<classRange,classTag>
22-
boolparse_uri(Range & range, uri_parts<Tag> & parts) {
22+
inlineboolparse_uri(Range & range, uri_parts<Tag> & parts) {
2323
using spirit::qi::parse;
2424
using spirit::qi::lexeme;
2525
using spirit::ascii::char_;

‎boost/network/uri/http/detail/parse_specific.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace boost { namespace network { namespace uri {
4343
};
4444

4545
template<>
46-
bool parse_specific<
46+
inlinebool parse_specific<
4747
string<tags::http>::type,
4848
tags::http
4949
>(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp