Fix warnings
This commit is contained in:
parent
fde60bdbbc
commit
4accfdd951
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ class hash160
|
|||
hash160 result();
|
||||
|
||||
private:
|
||||
class impl;
|
||||
struct impl;
|
||||
fc::fwd<impl,117> my;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -282,7 +282,7 @@ namespace fc { namespace http {
|
|||
}).wait();
|
||||
});
|
||||
|
||||
_server.set_socket_init_handler( [this]( websocketpp::connection_hdl hdl,
|
||||
_server.set_socket_init_handler( []( websocketpp::connection_hdl hdl,
|
||||
typename websocketpp::server<T>::connection_type::socket_type& s ) {
|
||||
boost::asio::ip::tcp::no_delay option(true);
|
||||
s.lowest_layer().set_option(option);
|
||||
|
|
@ -417,7 +417,7 @@ namespace fc { namespace http {
|
|||
const std::string& forward_header_key )
|
||||
: generic_websocket_server_impl( forward_header_key )
|
||||
{
|
||||
_server.set_tls_init_handler( [this,server_pem,ssl_password]( websocketpp::connection_hdl hdl ) {
|
||||
_server.set_tls_init_handler( [server_pem,ssl_password]( websocketpp::connection_hdl hdl ) {
|
||||
context_ptr ctx = websocketpp::lib::make_shared<boost::asio::ssl::context>(
|
||||
boost::asio::ssl::context::tlsv1 );
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue