Skip to content

Commit

Permalink
GLSupport: const correct GLSLPreprocessor
Browse files Browse the repository at this point in the history
missing 'const' lead to error in C++20
  • Loading branch information
AdmiralPellaeon authored Jan 5, 2024
1 parent 2feb289 commit a486856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,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;
Expand Down

0 comments on commit a486856

Please sign in to comment.