Skip to content

Commit

Permalink
Added even more missing initializers.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Apr 6, 2024
1 parent bf6387b commit f88b5f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/roar/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ namespace Roar
/**
* @brief sslVerifyCallback, you can use boost::asio::ssl::rfc2818_verification(host) most of the time.
*/
std::function<bool(bool, boost::asio::ssl::verify_context&)> sslVerifyCallback;
std::function<bool(bool, boost::asio::ssl::verify_context&)> sslVerifyCallback = [](bool, auto&) {
// Ending here? Do not forget to implement your own callback.
return false;
};
};

struct ConstructionArguments
Expand Down

0 comments on commit f88b5f4

Please sign in to comment.