From e3490d65bb824a9b4ee0fdc0872753fa295b1087 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Wed, 12 Aug 2015 13:43:02 +0300 Subject: Fix some compiler errors with global header file --- include/tgbot/net/TgWebhookTcpServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tgbot/net/TgWebhookTcpServer.h') diff --git a/include/tgbot/net/TgWebhookTcpServer.h b/include/tgbot/net/TgWebhookTcpServer.h index 417b162..de1f3e7 100644 --- a/include/tgbot/net/TgWebhookTcpServer.h +++ b/include/tgbot/net/TgWebhookTcpServer.h @@ -34,7 +34,7 @@ namespace TgBot { class TgWebhookTcpServer : public TgWebhookServer { public: - TgWebhookTcpServer(std::shared_ptr>& acceptor, const std::string& path, EventHandler* eventHandler) = delete; + TgWebhookTcpServer(std::shared_ptr> acceptor, const std::string& path, EventHandler* eventHandler) = delete; TgWebhookTcpServer(unsigned short port, const std::string& path, const EventHandler* eventHandler) : TgWebhookServer(std::shared_ptr>(new boost::asio::ip::tcp::acceptor(_ioService, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), port))), path, eventHandler) -- cgit v1.2.3