Fix build with Xcode.
This commit is contained in:
		
							parent
							
								
									12dd72bddf
								
							
						
					
					
						commit
						aacb720664
					
				
					 3 changed files with 2 additions and 3 deletions
				
			
		|  | @ -490,7 +490,7 @@ PreparedShortInfoUserpic PrepareShortInfoFallbackUserpic( | |||
| 			1, | ||||
| 			1, | ||||
| 			1)) | ||||
| 		: rpl::never<UserPhotosSlice>(); | ||||
| 		: (rpl::never<UserPhotosSlice>() | rpl::type_erased()); | ||||
| 	auto process = [=](not_null<UserpicState*> state) { | ||||
| 		if (photoId) { | ||||
| 			ProcessFullPhoto(peer, state, peer->owner().photo(*photoId)); | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ namespace Ui { | |||
| class ScrollArea; | ||||
| class PlainShadow; | ||||
| class FlatButton; | ||||
| class PreparedList; | ||||
| struct PreparedList; | ||||
| class SendFilesWay; | ||||
| } // namespace Ui
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -618,7 +618,6 @@ void UserpicButton::processPeerPhoto() { | |||
| 		if (_showPeerUserpic) { | ||||
| 			_peer->loadUserpic(); | ||||
| 		} else if (_nonPersonalView) { | ||||
| 			AssertIsDebug(); | ||||
| 			showNonPersonal->load(Data::FileOriginFullUser{ | ||||
| 				peerToUser(user->id), | ||||
| 			}); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston