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

Commit0f692fe

Browse files
committed
Cleaning up warnings related to cpp-netlib code.
1 parent12b57f9 commit0f692fe

File tree

18 files changed

+28
-20
lines changed

18 files changed

+28
-20
lines changed

‎boost/network/protocol/http/client/facade.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespaceboost {namespacenetwork {namespacehttp {
1414

1515
template<classTag>
16-
classbasic_request;
16+
structbasic_request;
1717

1818
template<classTag>
1919
structbasic_response;

‎boost/network/protocol/http/impl/request.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace boost { namespace network { namespace http {
4242
{};
4343

4444
template<classTag>
45-
classbasic_request :publicrequest_base<Tag>::type
45+
structbasic_request :publicrequest_base<Tag>::type
4646
{
4747

4848
mutable boost::network::uri::http::uri uri_;

‎boost/network/protocol/http/message/async_message.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ namespace boost { namespace network { namespace http {
2424

2525
async_message()
2626
: status_message_(),
27-
status_(),
2827
version_(),
2928
source_(),
3029
destination_(),
30+
status_(),
3131
headers_(),
3232
body_()
3333
{}
3434

3535
async_message(async_messageconst & other)
3636
: status_message_(other.status_message_),
37-
status_(other.status_),
3837
version_(other.version_),
3938
source_(other.source_),
4039
destination_(other.destination_),
40+
status_(other.status_),
4141
headers_(other.headers_),
4242
body_(other.body_)
4343
{}
@@ -129,11 +129,12 @@ namespace boost { namespace network { namespace http {
129129
private:
130130

131131
mutable boost::shared_future<string_type> status_message_,
132-
version_, source_, destination_, body_;
132+
version_, source_, destination_;
133133
mutable boost::shared_future<boost::uint16_t> status_;
134134
mutable boost::shared_future<headers_container_type> headers_;
135135
mutable headers_container_type added_headers;
136136
mutable std::set<string_type> removed_headers;
137+
mutable boost::shared_future<string_type> body_;
137138
};
138139

139140
template<classTag>

‎boost/network/protocol/http/message/modifiers/uri.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespaceboost {namespacenetwork {namespacehttp {
1414

1515
template<classTag>
16-
classbasic_request;
16+
structbasic_request;
1717

1818
template<classTag,classT>
1919
voiduri(basic_request<Tag> & request, Tconst & value) {

‎boost/network/protocol/http/message/wrappers/anchor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespaceboost {namespacenetwork {namespacehttp {
1414

1515
template<classTag>
16-
classbasic_request;
16+
structbasic_request;
1717

1818
namespaceimpl {
1919
template<classTag>

‎boost/network/protocol/http/message/wrappers/body.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ namespace boost { namespace network { namespace http {
1616
structbasic_response;
1717

1818
template<classTag>
19-
classbasic_request;
19+
structbasic_request;
2020

2121
namespaceimpl {
2222

2323
template<classMessage>
2424
structbody_wrapper {
2525
typedeftypename string<typename Message::tag>::type string_type;
2626
Messageconst & message_;
27-
body_wrapper(Messageconst & message)
27+
explicitbody_wrapper(Messageconst & message)
2828
: message_(message) {}
2929
body_wrapper(body_wrapperconst & other)
3030
: message_(other.message_) {}

‎boost/network/protocol/http/message/wrappers/destination.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace boost { namespace network { namespace http {
1616
structbasic_response;
1717

1818
template<classTag>
19-
classbasic_request;
19+
structbasic_request;
2020

2121
namespaceimpl {
2222

‎boost/network/protocol/http/message/wrappers/headers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace boost { namespace network { namespace http {
1919
};
2020

2121
template<classTag>
22-
classbasic_request;
22+
structbasic_request;
2323

2424
template<classTag>
2525
structbasic_response;

‎boost/network/protocol/http/message/wrappers/host.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespaceboost {namespacenetwork {namespacehttp {
1414

1515
template<classTag>
16-
classbasic_request;
16+
structbasic_request;
1717

1818
namespaceimpl {
1919

‎boost/network/protocol/http/message/wrappers/path.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespaceboost {namespacenetwork {namespacehttp {
1414

1515
template<classTag>
16-
classbasic_request;
16+
structbasic_request;
1717

1818
namespaceimpl {
1919

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp