summaryrefslogtreecommitdiff
path: root/games-arcade/briquolo/files/briquolo-0.5.7-gcc11-fix-const.patch
blob: d5d68819675a80a08d5cc40ce06fe4c001b04965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/790746
--- a/src/MOGL/MOGL_Fenetre.h
+++ b/src/MOGL/MOGL_Fenetre.h
@@ -52,7 +52,7 @@ class MOGL_Fenetre
   private:
     struct CompareResolution
     {
-        bool operator() (const MOGL_Resolution & x, const MOGL_Resolution & y)
+        bool operator() (const MOGL_Resolution & x, const MOGL_Resolution & y) const
         {
           return x.w < y.w;
         }