Skip to content

Commit 4de2b32

Browse files
committed
Merge branch 'http-client-refactoring' of github.com:deanberris/cpp-netlib into http-client-refactoring
Conflicts: libs/network/src/CMakeLists.txt
2 parents 144f21d + 477c253 commit 4de2b32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

boost/network/message/message.ipp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ message::message(message const & other)
135135

136136
message& message::operator=(message other) {
137137
*pimpl = *other.pimpl;
138+
return *this;
138139
}
139140

140141
message::~message() {

libs/network/test/message_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ BOOST_AUTO_TEST_CASE(remove_header_directive_test) {
6767
message instance;
6868
instance << header("name", "value")
6969
<< remove_header("name");
70-
message::headers_range range = headers(instance);
70+
message::headers_range range = headers(instance)["name"];
7171
BOOST_CHECK ( boost::begin(range) == boost::end(range) );
7272
}

0 commit comments

Comments
 (0)