File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ message::message(message const & other)
135
135
136
136
message& message::operator =(message other) {
137
137
*pimpl = *other.pimpl ;
138
+ return *this ;
138
139
}
139
140
140
141
message::~message () {
Original file line number Diff line number Diff line change @@ -25,5 +25,5 @@ add_library(cppnetlib-message-directives ${CPP-NETLIB_MESSAGE_DIRECTIVES_SRCS})
25
25
set (CPP-NETLIB_MESSAGE_WRAPPERS_SRCS message /wrappers.cpp )
26
26
add_library (cppnetlib-message-wrappers ${CPP-NETLIB_MESSAGE_WRAPPERS_SRCS} )
27
27
28
- set (CPP-NETLIB_HTTP_MESSAGE_SRCS http/request.cpp http/response.cpp )
29
- add_library (cppnetlib-http-message ${CPP-NETLIB_HTTP_MESSAGE_SRCS} )
28
+ # set(CPP-NETLIB_HTTP_MESSAGE_SRCS http/request.cpp http/response.cpp)
29
+ # add_library(cppnetlib-http-message ${CPP-NETLIB_HTTP_MESSAGE_SRCS})
Original file line number Diff line number Diff line change @@ -67,6 +67,6 @@ BOOST_AUTO_TEST_CASE(remove_header_directive_test) {
67
67
message instance;
68
68
instance << header (" name" , " value" )
69
69
<< remove_header (" name" );
70
- message::headers_range range = headers (instance);
70
+ message::headers_range range = headers (instance)[ " name " ] ;
71
71
BOOST_CHECK ( boost::begin (range) == boost::end (range) );
72
72
}
You can’t perform that action at this time.
0 commit comments