Commit e8004bce authored by Robert Maynard's avatar Robert Maynard
Browse files

vtkRandomSequence* classes now use VTK_OVERRIDE.

parent b5309c6d
Pipeline #23226 passed with stage
......@@ -36,11 +36,11 @@ public:
// Description:
// Current value.
virtual double GetValue();
double GetValue() VTK_OVERRIDE;
// Description:
// Move to the next number in the random sequence.
virtual void Next();
void Next() VTK_OVERRIDE;
// Description:
// Return the uniformly distributed sequence of random numbers.
......
......@@ -98,7 +98,7 @@ public:
// Description:
// Current value
// \post unit_range: result>=0.0 && result<=1.0
virtual double GetValue() { return this->GetValue(0); }
double GetValue() VTK_OVERRIDE { return this->GetValue(0); }
// Description:
// Move to the next number in random sequence <id>. If no sequence is
......@@ -110,7 +110,7 @@ public:
// Move to the next number in random sequence <0>. If no sequence is
// associated with this id, a warning is given and a sequence is generated
// with default values.
virtual void Next() { return this->Next(0); }
void Next() VTK_OVERRIDE { return this->Next(0); }
protected:
vtkMersenneTwister();
......
......@@ -79,11 +79,11 @@ public:
// Description:
// Current value
// \post unit_range: result>=0.0 && result<=1.0
virtual double GetValue();
double GetValue() VTK_OVERRIDE;
// Description:
// Move to the next number in the random sequence.
virtual void Next();
void Next() VTK_OVERRIDE;
// Description:
// Convenient method to return a value in a specific range from the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment