Skip to content

Commit f488907

Browse files
committed
Fix more ambiguous operators
1 parent 3bff86f commit f488907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Algorithm/include/Algorithm/PageParser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ class PageParser
255255
return mElement;
256256
}
257257
// comparison
258-
bool operator==(const SelfType& rh)
258+
bool operator==(const SelfType& rh) const
259259
{
260260
return mPosition == rh.mPosition;
261261
}
262262
// comparison
263-
bool operator!=(const SelfType& rh)
263+
bool operator!=(const SelfType& rh) const
264264
{
265265
return mPosition != rh.mPosition;
266266
}

0 commit comments

Comments
 (0)