mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
#else constexpr doesn't do anything it's just a compiler warning (#4743)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace elevationChart {
|
||||
#if defined(CXX17)
|
||||
#define CONSTEXPR constexpr
|
||||
#define CONSTEXPR_FUNC constexpr
|
||||
#else constexpr
|
||||
#else
|
||||
#define CONSTEXPR static const
|
||||
#define CONSTEXPR_FUNC
|
||||
#endif
|
||||
|
||||
@@ -856,7 +856,7 @@ void ElevationZoomedMeterWidget::calcMinAndMax()
|
||||
#if defined(CXX17)
|
||||
#define CONSTEXPR constexpr
|
||||
#define CONSTEXPR_FUNC constexpr
|
||||
#else constexpr
|
||||
#else
|
||||
#define CONSTEXPR static const
|
||||
#define CONSTEXPR_FUNC
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user