Skip to content

Commit

Permalink
MMVII: replace [[maybe_unused]] with a getter ... (gcc 11.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
meynardc committed Jan 14, 2025
1 parent 5ab7080 commit b36db7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions MMVII/src/MMV1/FluxPtsMMV1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class cConfig_Freeman_Or
tIndex IndSym(tIndex aK) const {return mSym.at(aK);}
bool Trigo() const {return mTrigo;}

const tIndex Pt2Ind(const cPt2di & aPt) const
tIndex Pt2Ind(const cPt2di & aPt) const
{
return const_cast<cConfig_Freeman_Or*>(this)->AddrP2I(aPt);
}
Expand Down Expand Up @@ -493,8 +493,9 @@ class cDilateSetPoints
const std::vector<cPt2di> & Trans(const cPt2di &) const ;
void DilateSet(std::vector<cPt2di> & aRes,const std::vector<cPt2di> & aSet0);

tREAL8 Ray() const { return mRay;}
private :
tREAL8 mRay [[maybe_unused]];
tREAL8 mRay;
tREAL8 mRAR;
std::vector<cPt2di> mDisk0;
mutable std::vector<std::vector<cPt2di>> mTrans;
Expand Down

0 comments on commit b36db7c

Please sign in to comment.