From b89cb5eebfdf826e62259eda2fa322c03052fd07 Mon Sep 17 00:00:00 2001 From: fkonvick Date: Wed, 8 Feb 2023 13:14:08 +0100 Subject: [PATCH] Fix compilation issue with GCC 12.2 --- gecode/int/ldsb.hh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gecode/int/ldsb.hh b/gecode/int/ldsb.hh index a6c6cee674..bdeae6b50a 100644 --- a/gecode/int/ldsb.hh +++ b/gecode/int/ldsb.hh @@ -186,9 +186,9 @@ namespace Gecode { namespace Int { namespace LDSB { Support::BitSetOffset indices; public: /// Constructor for creation - VariableSymmetryImp(Space& home, int* vs, unsigned int n); + VariableSymmetryImp(Space& home, int* vs, unsigned int n); /// Copy constructor - VariableSymmetryImp(Space& home, const VariableSymmetryImp& other); + VariableSymmetryImp(Space& home, const VariableSymmetryImp& other); /// Disposal virtual size_t dispose(Space& home); /// Left-branch update @@ -206,9 +206,9 @@ namespace Gecode { namespace Int { namespace LDSB { /// Symmetric values Support::BitSetOffset values; /// Constructor for creation - ValueSymmetryImp(Space& home, int* vs, unsigned int n); + ValueSymmetryImp(Space& home, int* vs, unsigned int n); /// Copy constructor - ValueSymmetryImp(Space& home, const ValueSymmetryImp& other); + ValueSymmetryImp(Space& home, const ValueSymmetryImp& other); /// Disposal virtual size_t dispose(Space& home); /// Left-branch update @@ -248,9 +248,9 @@ namespace Gecode { namespace Int { namespace LDSB { int getVal(unsigned int sequence, unsigned int position) const; public: /// Constructor for creation - VariableSequenceSymmetryImp(Space& home, int *_indices, unsigned int n, unsigned int seqsize); + VariableSequenceSymmetryImp(Space& home, int *_indices, unsigned int n, unsigned int seqsize); /// Copy constructor - VariableSequenceSymmetryImp(Space& home, const VariableSequenceSymmetryImp& s); + VariableSequenceSymmetryImp(Space& home, const VariableSequenceSymmetryImp& s); /// Disposal virtual size_t dispose(Space& home); /// Search left-branch update @@ -279,12 +279,12 @@ namespace Gecode { namespace Int { namespace LDSB { /// position. (Both are zero-based.) int getVal(unsigned int sequence, unsigned int position) const; private: - ValueSequenceSymmetryImp(const ValueSequenceSymmetryImp&); + ValueSequenceSymmetryImp(const ValueSequenceSymmetryImp&); public: /// Constructor for creation - ValueSequenceSymmetryImp(Space& home, int* _values, unsigned int n, unsigned int seqsize); + ValueSequenceSymmetryImp(Space& home, int* _values, unsigned int n, unsigned int seqsize); /// Copy constructor - ValueSequenceSymmetryImp(Space& home, const ValueSequenceSymmetryImp& vss); + ValueSequenceSymmetryImp(Space& home, const ValueSequenceSymmetryImp& vss); /// Disposal virtual size_t dispose(Space& home); /// Left-branch update