You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a library in boost called beast to simultaneous host a web server while running my bot. I get the following errors when I try to compile both in the same file. I'm thinking this has something to do with including two different ASIOs in the same file.
include/sleepy_discord/websocketpp_websocket.h:24:46: error: invalid covariant return type for ‘virtual boost::asio::io_service& SleepyDiscord::WebsocketppScheduleHandler::getIOService()’
24 | inline websocketpp::lib::asio::io_service& getIOService() override {
include/sleepy_discord/asio_schedule.h:17:29: note: overridden function is ‘virtual asio::io_service& SleepyDiscord::ASIOBasedScheduleHandler::getIOService()’
17 | virtual asio::io_service& getIOService() = 0;
Does anyone know how to resolve this?
The text was updated successfully, but these errors were encountered:
I am using a library in boost called beast to simultaneous host a web server while running my bot. I get the following errors when I try to compile both in the same file. I'm thinking this has something to do with including two different ASIOs in the same file.
include/sleepy_discord/websocketpp_websocket.h:24:46: error: invalid covariant return type for ‘virtual boost::asio::io_service& SleepyDiscord::WebsocketppScheduleHandler::getIOService()’
24 | inline websocketpp::lib::asio::io_service& getIOService() override {
include/sleepy_discord/asio_schedule.h:17:29: note: overridden function is ‘virtual asio::io_service& SleepyDiscord::ASIOBasedScheduleHandler::getIOService()’
17 | virtual asio::io_service& getIOService() = 0;
Does anyone know how to resolve this?
The text was updated successfully, but these errors were encountered: