File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace ECFMP::Api {
1212 const std::chrono::seconds runInterval = std::chrono::seconds(90 );
1313
1414 // The last time we ran
15- std::chrono::system_clock::time_point lastRuntime = std::chrono::system_clock::time_point::min();
15+ std::chrono::system_clock::time_point lastRuntime = ( std::chrono::system_clock::time_point::min) ();
1616
1717 // For publishing events
1818 std::shared_ptr<EventBus::InternalEventBus> eventBus;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ namespace ECFMP::Date {
2020 std::istringstream inputStream (date);
2121 inputStream >> std::chrono::parse (timeFormat, timePoint);
2222
23- return static_cast <bool >(inputStream) ? timePoint : std::chrono::system_clock::time_point::max ();
23+ return static_cast <bool >(inputStream) ? timePoint : ( std::chrono::system_clock::time_point::max) ();
2424 }
2525
2626 auto DateStringFromTimePoint (const std::chrono::system_clock::time_point& timePoint) -> std::string
You can’t perform that action at this time.
0 commit comments