madmongo1 / blog-new-year-2021

Connection Caching HTTP
Boost Software License 1.0
13 stars 5 forks source link

compile error #3

Closed sukeyisme closed 2 years ago

sukeyisme commented 2 years ago

When enable MUTLI_THREADED.

/usr/include/c++/10/bits/unique_ptr.h:962:30: error: no matching function for call to 'http::connection_cache_impl::connection_cache_impl(boost::asio::io_context::basic_executor_type<std::allocator, 0>, boost::asio::ssl::context&, http::connect_options)' 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }

madmongo1 commented 2 years ago

Fixed. Thank you.