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

Commit8c4a9da

Browse files
committed
Merge pull request#400 from Virtual-X/0.11-devel
Closes#399: Fix compiler error on VS2010.
2 parentsc15e98f +f693104 commit8c4a9da

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

‎boost/network/protocol/http/traits/impl/headers_container.ipp

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,23 @@
1717

1818
namespaceboost {namespacenetwork {namespaceimpl {
1919

20+
// Moving implementation from original
21+
// message_traits implementation by
22+
// Atomic Labs, Inc.
23+
// --
24+
// returns true if str1 < str2 (ignoring case)
25+
structis_less_ignore_case_impl {
26+
inlinebooloperator() (
27+
string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str1,
28+
string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str2)const {
29+
returnto_lower_copy(str1) <to_lower_copy(str2);
30+
};
31+
};
32+
2033
template<classTag>
2134
structheaders_container_impl<Tag,typename enable_if<typename Tag::is_client>::type> {
22-
// Moving implementation from original
23-
// message_traits implementation by
24-
// Atomic Labs, Inc.
25-
// --
26-
// returns true if str1 < str2 (ignoring case)
27-
structis_less_ignore_case {
28-
inlinebooloperator() (
29-
string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str1,
30-
string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str2)const {
31-
returnto_lower_copy(str1) <to_lower_copy(str2);
32-
};
33-
};
35+
36+
typedef is_less_ignore_case_impl is_less_ignore_case;
3437

3538
typedef std::multimap<
3639
string<http::tags::http_default_8bit_tcp_resolve>::type,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp