diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index 884e1cc1c..d82d72ff1 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -496,11 +496,11 @@ vector PollManager::get_vote_percentage(const vector &voter_counts td_api::object_ptr PollManager::get_poll_object(PollId poll_id) const { auto poll = get_poll(poll_id); if (!(poll != nullptr)) { - vector> poll_options = []; + vector> poll_options; poll_options.push_back(td_api::make_object( "empty", 0, 0, false, false)); - vector votes = []; + vector votes; return td_api::make_object( poll_id.get(), poll->question, std::move(poll_options), 0, std::move(votes), true,