mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Remove duplicate selected time function
This commit is contained in:
		
							parent
							
								
									2d6181b12a
								
							
						
					
					
						commit
						e41e35bfc4
					
				
					 3 changed files with 1 additions and 8 deletions
				
			
		|  | @ -442,7 +442,7 @@ std::chrono::system_clock::time_point MapWidget::GetSelectedTime() const | ||||||
|    if (radarProductView != nullptr) |    if (radarProductView != nullptr) | ||||||
|    { |    { | ||||||
|       // Select the time associated with the active radar product
 |       // Select the time associated with the active radar product
 | ||||||
|       time = radarProductView->GetSelectedTime(); |       time = radarProductView->selected_time(); | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|    return time; |    return time; | ||||||
|  |  | ||||||
|  | @ -150,11 +150,6 @@ RadarProductView::GetDescriptionFields() const | ||||||
|    return {}; |    return {}; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| std::chrono::system_clock::time_point RadarProductView::GetSelectedTime() const |  | ||||||
| { |  | ||||||
|    return p->selectedTime_; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void RadarProductView::ComputeSweep() | void RadarProductView::ComputeSweep() | ||||||
| { | { | ||||||
|    logger_->debug("ComputeSweep()"); |    logger_->debug("ComputeSweep()"); | ||||||
|  |  | ||||||
|  | @ -76,8 +76,6 @@ public: | ||||||
|                                 GetDataLevelCode(std::uint16_t level) const = 0; |                                 GetDataLevelCode(std::uint16_t level) const = 0; | ||||||
|    virtual std::optional<float> GetDataValue(std::uint16_t level) const     = 0; |    virtual std::optional<float> GetDataValue(std::uint16_t level) const     = 0; | ||||||
| 
 | 
 | ||||||
|    std::chrono::system_clock::time_point GetSelectedTime() const; |  | ||||||
| 
 |  | ||||||
|    virtual std::vector<std::pair<std::string, std::string>> |    virtual std::vector<std::pair<std::string, std::string>> | ||||||
|    GetDescriptionFields() const; |    GetDescriptionFields() const; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat