Fix the enumeration value list end marker (0 and (void*)0 are very different things in amd64)
This commit is contained in:
@@ -41,9 +41,9 @@ g_mode ("RandomWalk2dMode",
|
||||
"change the current speed and direction",
|
||||
RandomWalk2dMobilityModelParameters::MODE_DISTANCE, "Distance",
|
||||
RandomWalk2dMobilityModelParameters::MODE_TIME, "Time",
|
||||
0, 0);
|
||||
0, (void*)0);
|
||||
|
||||
static IntegerDefaultValue<double>
|
||||
static NumericDefaultValue<double>
|
||||
g_modeDistance ("RandomWalk2dDistance",
|
||||
"Change current direction and speed after moving this distance.",
|
||||
2.0);
|
||||
|
||||
Reference in New Issue
Block a user