mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Add mising const in Ogre
Add the required const to operator == as required and warned about with C++20. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
4a14e382d5
commit
27caf4b87d
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ namespace Ogre
|
|||
void SetValue (long iValue);
|
||||
|
||||
/// Test two tokens for equality
|
||||
bool operator == (const Token &iOther)
|
||||
bool operator == (const Token &iOther) const
|
||||
{
|
||||
if (iOther.Length != Length)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue