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:
Ralph Sennhauser 2025-07-28 18:51:47 +02:00
parent 4a14e382d5
commit 27caf4b87d
No known key found for this signature in database

View file

@ -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;