mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-28 21:27:53 +00:00
Fix compilation error on GCC.
This commit is contained in:
parent
b4950fe943
commit
aaafa8b3f6
@ -321,7 +321,6 @@ void RequestsBoxController::loadMoreRows() {
|
|||||||
_loadRequestId = 0;
|
_loadRequestId = 0;
|
||||||
|
|
||||||
result.match([&](const MTPDmessages_chatInviteImporters &data) {
|
result.match([&](const MTPDmessages_chatInviteImporters &data) {
|
||||||
const auto count = data.vcount().v;
|
|
||||||
const auto &importers = data.vimporters().v;
|
const auto &importers = data.vimporters().v;
|
||||||
auto &owner = _peer->owner();
|
auto &owner = _peer->owner();
|
||||||
for (const auto &importer : importers) {
|
for (const auto &importer : importers) {
|
||||||
@ -612,7 +611,6 @@ bool RequestsBoxSearchController::loadMoreRows() {
|
|||||||
mtpRequestId requestId) {
|
mtpRequestId requestId) {
|
||||||
auto items = std::vector<Item>();
|
auto items = std::vector<Item>();
|
||||||
result.match([&](const MTPDmessages_chatInviteImporters &data) {
|
result.match([&](const MTPDmessages_chatInviteImporters &data) {
|
||||||
const auto count = data.vcount().v;
|
|
||||||
const auto &importers = data.vimporters().v;
|
const auto &importers = data.vimporters().v;
|
||||||
auto &owner = _peer->owner();
|
auto &owner = _peer->owner();
|
||||||
items.reserve(importers.size());
|
items.reserve(importers.size());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user