2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-01 11:22:20 +00:00

Fix build on macOS and Linux.

This commit is contained in:
John Preston
2021-03-12 17:58:58 +04:00
parent 0e72dc3974
commit d624e2ef65
10 changed files with 11 additions and 8 deletions

View File

@@ -301,7 +301,7 @@ auto ApiWrap::RequestBuilder<Request>::fail(
auto &silence_warning = _builder.fail([
common = base::take(_commonFailHandler),
specific = std::move(handler)
](const MTP::Error &error) mutable {
](const MTP::Error &error) {
if (!specific(error)) {
common(error);
}