Support floats for speed value in traffic updates CSV (#6327)

This commit is contained in:
Siarhei Fedartsou
2022-08-30 15:34:46 +02:00
committed by GitHub
parent b17cbb4c47
commit 2cf957148b
5 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ struct Segment final
struct SpeedSource final
{
SpeedSource() : speed(0), rate() {}
unsigned speed;
SpeedSource() : speed(0.), rate() {}
double speed;
boost::optional<double> rate;
std::uint8_t source;
};