PVS: V730 Not all members of a class are initialized inside the constructor

This commit is contained in:
wmayer
2019-03-03 18:16:14 +01:00
parent 8a95461ae3
commit 7e482a5002
6 changed files with 17 additions and 16 deletions

View File

@@ -1134,14 +1134,14 @@ class EngagePoint
public:
struct EngageState
{
size_t currentPathIndex;
size_t currentSegmentIndex;
size_t currentPathIndex = 0;
size_t currentSegmentIndex = 0;
double segmentPos = 0;
double totalDistance = 0;
double currentPathLength = 0;
int passes = 0;
double metric; // engage point metric
double metric = 0; // engage point metric
bool operator<(const EngageState &other) const
{