mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:10:05 +00:00 
			
		
		
		
	More clang-tidy cleanup
This commit is contained in:
		
							parent
							
								
									80c3cb70d2
								
							
						
					
					
						commit
						0c17744bc6
					
				
					 3 changed files with 7 additions and 7 deletions
				
			
		|  | @ -42,17 +42,17 @@ ProductSettings::ProductSettings(ProductSettings&&) noexcept = default; | ||||||
| ProductSettings& | ProductSettings& | ||||||
| ProductSettings::operator=(ProductSettings&&) noexcept = default; | ProductSettings::operator=(ProductSettings&&) noexcept = default; | ||||||
| 
 | 
 | ||||||
| SettingsVariable<bool>& ProductSettings::show_smoothed_range_folding() const | SettingsVariable<bool>& ProductSettings::show_smoothed_range_folding() | ||||||
| { | { | ||||||
|    return p->showSmoothedRangeFolding_; |    return p->showSmoothedRangeFolding_; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| SettingsVariable<bool>& ProductSettings::sti_forecast_enabled() const | SettingsVariable<bool>& ProductSettings::sti_forecast_enabled() | ||||||
| { | { | ||||||
|    return p->stiForecastEnabled_; |    return p->stiForecastEnabled_; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| SettingsVariable<bool>& ProductSettings::sti_past_enabled() const | SettingsVariable<bool>& ProductSettings::sti_past_enabled() | ||||||
| { | { | ||||||
|    return p->stiPastEnabled_; |    return p->stiPastEnabled_; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -25,9 +25,9 @@ public: | ||||||
|    ProductSettings(ProductSettings&&) noexcept; |    ProductSettings(ProductSettings&&) noexcept; | ||||||
|    ProductSettings& operator=(ProductSettings&&) noexcept; |    ProductSettings& operator=(ProductSettings&&) noexcept; | ||||||
| 
 | 
 | ||||||
|    SettingsVariable<bool>& show_smoothed_range_folding() const; |    SettingsVariable<bool>& show_smoothed_range_folding(); | ||||||
|    SettingsVariable<bool>& sti_forecast_enabled() const; |    SettingsVariable<bool>& sti_forecast_enabled(); | ||||||
|    SettingsVariable<bool>& sti_past_enabled() const; |    SettingsVariable<bool>& sti_past_enabled(); | ||||||
| 
 | 
 | ||||||
|    static ProductSettings& Instance(); |    static ProductSettings& Instance(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -782,7 +782,7 @@ void Level2ProductView::ComputeSweep() | ||||||
|             continue; |             continue; | ||||||
|          } |          } | ||||||
| 
 | 
 | ||||||
|          std::size_t vertexCount = |          const std::size_t vertexCount = | ||||||
|             (gate > 0) ? kVerticesPerGate_ : kVerticesPerOriginGate_; |             (gate > 0) ? kVerticesPerGate_ : kVerticesPerOriginGate_; | ||||||
| 
 | 
 | ||||||
|          // Allow pointer arithmetic here, as bounds have already been checked
 |          // Allow pointer arithmetic here, as bounds have already been checked
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat