Skip to content

Commit

Permalink
BUG: set BinaryNot operator to const method
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp authored and hjmjohnson committed Feb 14, 2020
1 parent 0151176 commit d921281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class BinaryNot
return !(*this != other);
}
inline TPixel
operator()(const TPixel & A)
operator()(const TPixel & A) const
{
bool a = (A == m_ForegroundValue);
if (!a)
Expand Down

0 comments on commit d921281

Please sign in to comment.