diff options
Diffstat (limited to 'include/tgbot/Bot.h')
-rw-r--r-- | include/tgbot/Bot.h | 8 |
1 files changed, 4 insertions, 4 deletions
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; }; } |