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:
@@ -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