Skip to content
Snippets Groups Projects
Commit dde9482e authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkEqualizerContextItem: remove unused code

The member operator can be used if it is `const` qualified.
parent 4628736a
No related branches found
No related tags found
No related merge requests found
......@@ -57,15 +57,9 @@ struct EqualizerPoint
}
//------------------------------------------------------------------------------
bool operator<(const EqualizerPoint& point) { return this->freq < point.freq; }
bool operator<(const EqualizerPoint& point) const { return this->freq < point.freq; }
};
//------------------------------------------------------------------------------
bool operator<(const EqualizerPoint& lhs, const EqualizerPoint& rhs)
{
return lhs.freq < rhs.freq;
}
//------------------------------------------------------------------------------
bool isNear(vtkVector2f pos1, vtkVector2f pos2, double radius)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment