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