File: gcc-15.patch

package info (click to toggle)
ball 1.5.0%2Bgit20220524.d85d2dd-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 240,912 kB
  • sloc: cpp: 326,154; ansic: 4,212; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 338; javascript: 164; makefile: 98
file content (18 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix FTBFS with GCC 15.
Bug-Debian: https://bugs.debian.org/1114056
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-11-07
---

--- ball.orig/include/BALL/DATATYPE/contourSurface.h
+++ ball/include/BALL/DATATYPE/contourSurface.h
@@ -302,7 +302,7 @@
 	bool TContourSurface<T>:: operator == (const TContourSurface<T>& data) const
 	{
 		return ((threshold_    == data.threshold_)
-						 && Surface::operator == (data.data_));
+						 && Surface::operator == (data));
 	}
 
   template <typename T>