Commit 3651467c authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Silence compiler warning

parent c27ec6f5
...@@ -827,6 +827,11 @@ int http2_handler::push_promise(http2_stream& stream, std::string method, ...@@ -827,6 +827,11 @@ int http2_handler::push_promise(http2_stream& stream, std::string method,
return 0; return 0;
} }
boost::asio::io_service& http2_handler::io_service()
{
return io_service_;
}
callback_guard::callback_guard(http2_handler& h) callback_guard::callback_guard(http2_handler& h)
: handler(h) : handler(h)
{ {
......
...@@ -165,6 +165,8 @@ public: ...@@ -165,6 +165,8 @@ public:
std::string path, std::string path,
std::vector<header> headers); std::vector<header> headers);
boost::asio::io_service& io_service();
template<size_t N> template<size_t N>
int on_read(const boost::array<uint8_t, N>& buffer, std::size_t len) int on_read(const boost::array<uint8_t, N>& buffer, std::size_t len)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment