mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 12:30:05 +00:00 
			
		
		
		
	Asset suffix should be const, not constexpr
This commit is contained in:
		
							parent
							
								
									07adbb382d
								
							
						
					
					
						commit
						2beac20ee3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -93,9 +93,9 @@ void UpdateDialog::Impl::HandleAsset(const types::gh::ReleaseAsset& asset) | |||
| #if defined(_WIN32) | ||||
| 
 | ||||
| #   if defined(_M_AMD64) | ||||
|    static constexpr std::string assetSuffix = "-x64.msi"; | ||||
|    static const std::string assetSuffix = "-x64.msi"; | ||||
| #   else | ||||
|    static constexpr std::string assetSuffix = "-arm64.msi"; | ||||
|    static const std::string assetSuffix = "-arm64.msi"; | ||||
| #   endif | ||||
| 
 | ||||
|    if (asset.name_.ends_with(assetSuffix)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat