Skip to content

Commit 44018b9

Browse files
committed
Make sure ValueType is const-unqualified
This fixes broken concept check for swap(h1, h2) and relaxes unneeded input restrictions for linearize_header.
1 parent 3d7a7a8 commit 44018b9

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()(ValueType const & header) {
3838
typedef std::ostringstream output_stream;
3939
typedef constants consts;
4040
output_stream header_line;

0 commit comments

Comments
 (0)