diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-05-04 15:55:23 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-05-05 08:27:12 +0200 |
commit | 37b21372a0a3e5d876a87f03c8cbef2e02d8dc92 (patch) | |
tree | fa48f32fa09f985e9823a836a364405db90052c3 /src/httpserver.cpp | |
parent | f97b410fdd57743f9a26ea49086534000eb9626a (diff) |
http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest
No need for boost here.
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r-- | src/httpserver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 67a9e1e92f..c193d2af1b 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -36,7 +36,6 @@ #include <boost/algorithm/string/case_conv.hpp> // for to_lower() #include <boost/foreach.hpp> -#include <boost/scoped_ptr.hpp> /** Maximum size of http request (request line + headers) */ static const size_t MAX_HEADERS_SIZE = 8192; @@ -54,7 +53,7 @@ public: func(req.get(), path); } - boost::scoped_ptr<HTTPRequest> req; + std::unique_ptr<HTTPRequest> req; private: std::string path; |