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

Commit44018b9

Browse files
committed
Make sure ValueType is const-unqualified
This fixes broken concept check for swap(h1, h2) andrelaxes unneeded input restrictions for linearize_header.
1 parent3d7a7a8 commit44018b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎include/network/protocol/http/algorithms/linearize.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct linearize_header {
3434
BOOST_CONCEPT_REQUIRES(
3535
((Header<ValueType>)),
3636
(string_type)
37-
)operator()(ValueType & header) {
37+
)operator()(ValueTypeconst& header) {
3838
typedef std::ostringstream output_stream;
3939
typedef constants consts;
4040
output_stream header_line;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp