mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove 'const constexpr' pairs
'constexpr' implies 'const' since it is a stronger guarantee, so let's remove the redundant 'const'. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
afa989e32c
commit
5d1f12438b
3 changed files with 9 additions and 9 deletions
|
@ -1107,10 +1107,10 @@ static bool same_cylinder_pressure(const cylinder_t &cyl1, const cylinder_t &cyl
|
|||
}
|
||||
|
||||
// Flags for comparing cylinders
|
||||
static const constexpr int SAME_TYPE = 1 << 0;
|
||||
static const constexpr int SAME_SIZE = 1 << 1;
|
||||
static const constexpr int SAME_PRESS = 1 << 2;
|
||||
static const constexpr int SAME_GAS = 1 << 3;
|
||||
static constexpr int SAME_TYPE = 1 << 0;
|
||||
static constexpr int SAME_SIZE = 1 << 1;
|
||||
static constexpr int SAME_PRESS = 1 << 2;
|
||||
static constexpr int SAME_GAS = 1 << 3;
|
||||
|
||||
static bool same_cylinder_with_flags(const cylinder_t &cyl1, const cylinder_t &cyl2, int sameCylinderFlags)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue