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
@@ -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);
}