ogre/ogre-gcc11.patch
zhangyinuo d875d024d0 test
Signed-off-by: 张一诺 <zhangyinuo4@h-partners.com>
2024-07-31 14:05:23 +08:00

14 lines
580 B
Diff

diff --git a/Samples/Common/include/Sample.h b/Samples/Common/include/Sample.h
index 6064d8f..e6851a4 100644
--- a/Samples/Common/include/Sample.h
+++ b/Samples/Common/include/Sample.h
@@ -63,7 +63,7 @@ namespace OgreBites
=============================================================================*/
struct Comparer
{
- bool operator() (Sample* a, Sample* b)
+ bool operator() (Sample* a, Sample* b) const
{
Ogre::NameValuePairList::iterator aTitle = a->getInfo().find("Title");
Ogre::NameValuePairList::iterator bTitle = b->getInfo().find("Title");