Remove duplicate selected time function

This commit is contained in:
Dan Paulat 2024-02-16 22:26:14 -06:00
parent 2d6181b12a
commit e41e35bfc4
3 changed files with 1 additions and 8 deletions

View file

@ -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;

View file

@ -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()");

View file

@ -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;