We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent63b3b7b commit87f6482Copy full SHA for 87f6482
boost/network/protocol/http/impl/request.hpp
@@ -55,7 +55,7 @@ template <class Tag>
55
structbasic_request :publicbasic_message<Tag> {
56
57
mutable boost::network::uri::uri uri_;
58
-unsignedshort source_port_;
+boost::uint16_t source_port_;
59
typedef basic_message<Tag> base_type;
60
61
public:
@@ -113,9 +113,9 @@ struct basic_request : public basic_message<Tag> {
113
114
boost::network::uri::uriconst&uri()const {return uri_; }
115
116
-voidsource_port(constunsignedshort port) { source_port_ = port; }
+voidsource_port(constboost::uint16_t port) { source_port_ = port; }
117
118
-unsignedshortsource_port()const {return source_port_; }
+boost::uint16_tsource_port()const {return source_port_; }
119
};
120
121
/** This is the implementation of a POD request type