basiliscos / cpp-bredis

Boost::ASIO low-level redis client (connector)
MIT License
147 stars 36 forks source link

Boost 1.74 and BOOST_ASIO_NO_DEPRECATED #44

Closed amensel closed 4 years ago

amensel commented 4 years ago

asio_handler_invoke has been deprecated for a while, but in 1.74, they added compile-time detection for it if BOOST_ASIO_NO_DEPRECATED is defined.

This makes it impossible to use bredis with that flag, unfortunately, which is a must-have for certain Windows builds (it prevents a mis-detection of a specific constructor overload that leads to a crash).

basiliscos commented 4 years ago

Thank you again for your contribution. Your PR was merged and it is available in v0.11

amensel commented 4 years ago

Awesome! Glad to help out. Cheers!