mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +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::LineData | ||||||
| AlertLayer::Impl::CreateLineData(const settings::LineSettings& lineSettings) | AlertLayer::Impl::CreateLineData(const settings::LineSettings& lineSettings) | ||||||
| { | { | ||||||
|    return LineData {.borderColor_ {lineSettings.GetBorderColorRgba32f()}, |    return LineData { | ||||||
|  |       .borderColor_ {lineSettings.GetBorderColorRgba32f()}, | ||||||
|       .highlightColor_ {lineSettings.GetHighlightColorRgba32f()}, |       .highlightColor_ {lineSettings.GetHighlightColorRgba32f()}, | ||||||
|       .lineColor_ {lineSettings.GetLineColorRgba32f()}, |       .lineColor_ {lineSettings.GetLineColorRgba32f()}, | ||||||
|                     .borderWidth_ {static_cast<std::size_t>( |       .borderWidth_ = | ||||||
|                        lineSettings.border_width().GetValue())}, |          static_cast<std::size_t>(lineSettings.border_width().GetValue()), | ||||||
|                     .highlightWidth_ {static_cast<std::size_t>( |       .highlightWidth_ = | ||||||
|                        lineSettings.highlight_width().GetValue())}, |          static_cast<std::size_t>(lineSettings.highlight_width().GetValue()), | ||||||
|                     .lineWidth_ {static_cast<std::size_t>( |       .lineWidth_ = | ||||||
|                        lineSettings.line_width().GetValue())}}; |          static_cast<std::size_t>(lineSettings.line_width().GetValue())}; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void AlertLayer::Impl::UpdateLineData() | void AlertLayer::Impl::UpdateLineData() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat