Kaydet (Commit) 67daa5e3 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

this operator can be const

üst 21ab2c6d
......@@ -134,7 +134,7 @@ protected:
class approx_less : public std::binary_function<double, double, bool>
{
public:
bool operator() (double nVal1, double nVal2)
bool operator() (double nVal1, double nVal2) const
{
if(nVal1 < nVal2 && !rtl::math::approxEqual(nVal1, nVal2))
return true;
......
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