mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 11:30:06 +00:00 
			
		
		
		
	More removing braces around scalar initializers
This commit is contained in:
		
							parent
							
								
									94edeefee0
								
							
						
					
					
						commit
						3434db279e
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		|  | @ -675,15 +675,16 @@ void AlertLayer::Impl::HandleGeoLinesHover( | |||
| AlertLayer::Impl::LineData | ||||
| AlertLayer::Impl::CreateLineData(const settings::LineSettings& lineSettings) | ||||
| { | ||||
|    return LineData {.borderColor_ {lineSettings.GetBorderColorRgba32f()}, | ||||
|                     .highlightColor_ {lineSettings.GetHighlightColorRgba32f()}, | ||||
|                     .lineColor_ {lineSettings.GetLineColorRgba32f()}, | ||||
|                     .borderWidth_ {static_cast<std::size_t>( | ||||
|                        lineSettings.border_width().GetValue())}, | ||||
|                     .highlightWidth_ {static_cast<std::size_t>( | ||||
|                        lineSettings.highlight_width().GetValue())}, | ||||
|                     .lineWidth_ {static_cast<std::size_t>( | ||||
|                        lineSettings.line_width().GetValue())}}; | ||||
|    return LineData { | ||||
|       .borderColor_ {lineSettings.GetBorderColorRgba32f()}, | ||||
|       .highlightColor_ {lineSettings.GetHighlightColorRgba32f()}, | ||||
|       .lineColor_ {lineSettings.GetLineColorRgba32f()}, | ||||
|       .borderWidth_ = | ||||
|          static_cast<std::size_t>(lineSettings.border_width().GetValue()), | ||||
|       .highlightWidth_ = | ||||
|          static_cast<std::size_t>(lineSettings.highlight_width().GetValue()), | ||||
|       .lineWidth_ = | ||||
|          static_cast<std::size_t>(lineSettings.line_width().GetValue())}; | ||||
| } | ||||
| 
 | ||||
| void AlertLayer::Impl::UpdateLineData() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat