mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest
No need for boost here.
This commit is contained in:
parent
f97b410fdd
commit
37b21372a0
1 changed files with 1 additions and 2 deletions
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
|
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
|
||||||
|
|
||||||
/** Maximum size of http request (request line + headers) */
|
/** Maximum size of http request (request line + headers) */
|
||||||
static const size_t MAX_HEADERS_SIZE = 8192;
|
static const size_t MAX_HEADERS_SIZE = 8192;
|
||||||
|
@ -54,7 +53,7 @@ public:
|
||||||
func(req.get(), path);
|
func(req.get(), path);
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::scoped_ptr<HTTPRequest> req;
|
std::unique_ptr<HTTPRequest> req;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string path;
|
std::string path;
|
||||||
|
|
Loading…
Add table
Reference in a new issue