From ac3e87822afb6065a82dfe547ecbc0c307a04147 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 4 Jul 2018 19:27:20 +0300 Subject: Remove string literal. --- include/tgbot/Bot.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/tgbot/Bot.h') diff --git a/include/tgbot/Bot.h b/include/tgbot/Bot.h index 9bca05f..b8c8a85 100644 --- a/include/tgbot/Bot.h +++ b/include/tgbot/Bot.h @@ -34,14 +34,14 @@ namespace TgBot { /** * @brief This object holds other objects specific for this bot instance. - * + * * @ingroup general */ class Bot { public: - explicit Bot(const std::string& token, const HttpClient &httpClientDriver = BoostHttpClient::getInstance()) - : _token(token), _api(token, httpClientDriver), _eventHandler(&_eventBroadcaster), _httpClientDriver(httpClientDriver) { + explicit Bot(const std::string& token, const HttpClient &httpClientDriver = BoostHttpClient::getInstance()) + : _token(token), _api(token, httpClientDriver), _eventHandler(&_eventBroadcaster), _httpClientDriver(httpClientDriver) { } /** @@ -77,7 +77,7 @@ private: const Api _api; EventBroadcaster _eventBroadcaster; const EventHandler _eventHandler; - const HttpClient &_httpClientDriver; + const HttpClient& _httpClientDriver; }; } -- cgit v1.2.3