mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 01:45:06 +00:00
Fix build on macOS and Linux.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user