summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-15 14:44:08 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-15 14:44:08 +0300
commitc5cb76f8a482579555bdd48d65649bc6099d52e8 (patch)
tree1b60387c75daa974bc76aef905257dc1c0b63402 /src
parent16c9b77ee88dcfa131e14643eb5889e8cf770ce9 (diff)
Remove workaround.
Diffstat (limited to 'src')
-rw-r--r--src/Bot.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Bot.cpp b/src/Bot.cpp
index 706a3ce..b1e1ea5 100644
--- a/src/Bot.cpp
+++ b/src/Bot.cpp
@@ -7,11 +7,7 @@ namespace TgBot {
Bot::Bot(std::string token, const HttpClient& httpClient)
: _token(std::move(token))
, _api(_token, httpClient)
-#if __cplusplus > 201103L
, _eventBroadcaster(std::make_unique<EventBroadcaster>())
-#else
- , _eventBroadcaster(new EventBroadcaster())
-#endif
, _eventHandler(getEvents()) {
}