diff options
author | Egor Pugin <egor.pugin@gmail.com> | 2018-07-04 19:27:20 +0300 |
---|---|---|
committer | Egor Pugin <egor.pugin@gmail.com> | 2018-07-04 19:27:20 +0300 |
commit | ac3e87822afb6065a82dfe547ecbc0c307a04147 (patch) | |
tree | b1d3895de28ce746cf15e7378e1bd22c2fac2f0e /include/tgbot/Bot.h | |
parent | df3898ed79dec253b7f013ed1a6c2f1f0e98cb40 (diff) |
Remove string literal.
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; }; } |