Skip to content

Commit

Permalink
fixing warning, refs #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Dec 7, 2018
1 parent 9cbc792 commit 441c764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/microsim/cfmodels/MSCFModel_CACC.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class MSCFModel_CACC : public MSCFModel {
virtual MSCFModel::VehicleVariables* createVehicleVariables() const {
CACCVehicleVariables* ret = new CACCVehicleVariables();
ret->CACC_ControlMode = 0;
ret->lastUpdateTime = 0.0;
ret->lastUpdateTime = 0;
return ret;
}

Expand All @@ -125,7 +125,7 @@ class MSCFModel_CACC : public MSCFModel {
CACCVehicleVariables() : CACC_ControlMode(0) {}
/// @brief The vehicle's CACC precious time step gap error
int CACC_ControlMode;
double lastUpdateTime;
SUMOTime lastUpdateTime;
};


Expand Down

0 comments on commit 441c764

Please sign in to comment.