Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37567149
en ru br
Репозитории ALT

Группа :: Игры/Аркады
Пакет: marsshooter

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: marsshooter-gcc11-fix.patch
Скачать


--- M.A.R.S.-marsshooter-0.7.6/include/Hud/TabStats.hpp.orig	2020-12-19 16:05:03.831342974 +0100
+++ M.A.R.S.-marsshooter-0.7.6/include/Hud/TabStats.hpp	2020-12-19 16:07:47.641346184 +0100
@@ -40,13 +40,13 @@
 
     private:
         struct playerPtrCmp{
-            bool operator()(Player* lhs, Player* rhs){
+            bool operator()(const Player* lhs, const Player* rhs) const {
                 return lhs->points_ > rhs->points_;
             }
         };
 
         struct teamPtrCmp{
-            bool operator()(Team* lhs, Team* rhs){
+            bool operator()(const Team* lhs, const Team* rhs) const {
                 return lhs->points() > rhs->points();
             }
         };
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin