src: Silence compiler warning

This commit is contained in:
Tatsuhiro Tsujikawa 2014-09-24 00:57:43 +09:00
parent c27ec6f57b
commit 3651467c71
2 changed files with 7 additions and 0 deletions

View File

@ -827,6 +827,11 @@ int http2_handler::push_promise(http2_stream& stream, std::string method,
return 0;
}
boost::asio::io_service& http2_handler::io_service()
{
return io_service_;
}
callback_guard::callback_guard(http2_handler& h)
: handler(h)
{

View File

@ -165,6 +165,8 @@ public:
std::string path,
std::vector<header> headers);
boost::asio::io_service& io_service();
template<size_t N>
int on_read(const boost::array<uint8_t, N>& buffer, std::size_t len)
{