Add a default ToD if none are present. (bug #21489)
This commit is contained in:
parent
4474d22dab
commit
7e9c5473bc
1 changed files with 5 additions and 5 deletions
|
@ -67,10 +67,10 @@ void time_of_day::parse_times(const config& cfg, std::vector<time_of_day>& times
|
|||
times.push_back(time_of_day(t));
|
||||
}
|
||||
|
||||
// if(times.empty())
|
||||
// {
|
||||
// // Make sure we have at least default time
|
||||
// times.push_back(time_of_day());
|
||||
// }
|
||||
if(times.empty())
|
||||
{
|
||||
// Make sure we have at least default time
|
||||
times.push_back(time_of_day());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue