1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Fix FTBFS with GCC-15
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/1096589
Last-Update: 2025-10-08
--- esys-particle-2.3.5+dfsg2.orig/Tools/ExtractFractures/fracframe.cpp
+++ esys-particle-2.3.5+dfsg2/Tools/ExtractFractures/fracframe.cpp
@@ -33,7 +33,7 @@ using std::back_inserter;
FracFrame::FracFrame()
{}
-bool FracFrame::cmp::operator()(const bdata& b1,const bdata& b2)
+bool FracFrame::cmp::operator()(const bdata& b1,const bdata& b2) const
{
bool res=false;
--- esys-particle-2.3.5+dfsg2.orig/Tools/ExtractFractures/fracframe.h
+++ esys-particle-2.3.5+dfsg2/Tools/ExtractFractures/fracframe.h
@@ -44,7 +44,7 @@ class FracFrame
class cmp
{
public:
- bool operator ()(const bdata&, const bdata&);
+ bool operator ()(const bdata&, const bdata&) const;
};
set<bdata,FracFrame::cmp> m_bonds;
|