mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-30 09:34:06 +00:00
[traffxml] Use std::chrono::system_clock for IsoTime
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "traffic/speed_groups.hpp"
|
||||
#include "traffic/traffic_info.hpp"
|
||||
|
||||
#include <chrono>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -76,9 +77,9 @@ public:
|
||||
private:
|
||||
friend std::string DebugPrint(IsoTime time);
|
||||
|
||||
IsoTime(std::tm tm);
|
||||
IsoTime(std::chrono::time_point<std::chrono::system_clock> tp);
|
||||
|
||||
std::tm m_tm;
|
||||
std::chrono::time_point<std::chrono::system_clock> m_tp;
|
||||
};
|
||||
|
||||
// TODO enum urgency
|
||||
|
||||
Reference in New Issue
Block a user