mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +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)
|
#if defined(CXX17)
|
||||||
#define CONSTEXPR constexpr
|
#define CONSTEXPR constexpr
|
||||||
#define CONSTEXPR_FUNC constexpr
|
#define CONSTEXPR_FUNC constexpr
|
||||||
#else constexpr
|
#else
|
||||||
#define CONSTEXPR static const
|
#define CONSTEXPR static const
|
||||||
#define CONSTEXPR_FUNC
|
#define CONSTEXPR_FUNC
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -856,7 +856,7 @@ void ElevationZoomedMeterWidget::calcMinAndMax()
|
|||||||
#if defined(CXX17)
|
#if defined(CXX17)
|
||||||
#define CONSTEXPR constexpr
|
#define CONSTEXPR constexpr
|
||||||
#define CONSTEXPR_FUNC constexpr
|
#define CONSTEXPR_FUNC constexpr
|
||||||
#else constexpr
|
#else
|
||||||
#define CONSTEXPR static const
|
#define CONSTEXPR static const
|
||||||
#define CONSTEXPR_FUNC
|
#define CONSTEXPR_FUNC
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user