Support floats for speed value in traffic updates CSV (#6327)
This commit is contained in:
committed by
GitHub
parent
b17cbb4c47
commit
2cf957148b
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user