mirror of https://github.com/procxx/kepka.git
Closed alpha version 1.6.3.1: Fix build for Xcode.
This commit is contained in:
parent
5c0f278775
commit
84e9e37353
|
@ -68,7 +68,7 @@ TextWithEntities WrapAsItem(
|
||||||
if (const auto forwarded = item->Get<HistoryMessageForwarded>()) {
|
if (const auto forwarded = item->Get<HistoryMessageForwarded>()) {
|
||||||
result = WrapAsForwarded(std::move(result), forwarded);
|
result = WrapAsForwarded(std::move(result), forwarded);
|
||||||
}
|
}
|
||||||
return result;
|
return std::move(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
TextWithEntities HistoryItemText(not_null<HistoryItem*> item) {
|
TextWithEntities HistoryItemText(not_null<HistoryItem*> item) {
|
||||||
|
|
|
@ -55,7 +55,6 @@ private:
|
||||||
const QVector<MTPFileHash> &hashes);
|
const QVector<MTPFileHash> &hashes);
|
||||||
|
|
||||||
const not_null<ApiWrap*> _api;
|
const not_null<ApiWrap*> _api;
|
||||||
const MTP::DcId _dcId = 0;
|
|
||||||
|
|
||||||
// _location can be changed with an updated file_reference.
|
// _location can be changed with an updated file_reference.
|
||||||
StorageFileLocation _location;
|
StorageFileLocation _location;
|
||||||
|
|
|
@ -524,7 +524,7 @@ ScopeRow ComputeScopeRow(const Scope &scope) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return row;
|
return std::move(row);
|
||||||
};
|
};
|
||||||
switch (scope.type) {
|
switch (scope.type) {
|
||||||
case Scope::Type::PersonalDetails:
|
case Scope::Type::PersonalDetails:
|
||||||
|
|
|
@ -343,8 +343,6 @@ Storage::Cache::Key StorageFileLocation::cacheKey() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Storage::Cache::Key StorageFileLocation::bigFileBaseCacheKey() const {
|
Storage::Cache::Key StorageFileLocation::bigFileBaseCacheKey() const {
|
||||||
using Key = Storage::Cache::Key;
|
|
||||||
|
|
||||||
// Skip '1' and '2' for legacy document cache keys.
|
// Skip '1' and '2' for legacy document cache keys.
|
||||||
const auto shifted = ((uint64(_type) + 3) << 8);
|
const auto shifted = ((uint64(_type) + 3) << 8);
|
||||||
const auto sliced = uint64(_dcId) & 0xFFULL;
|
const auto sliced = uint64(_dcId) & 0xFFULL;
|
||||||
|
|
Loading…
Reference in New Issue