diff --git a/src/libs/vlayout/vsapoint.h b/src/libs/vlayout/vsapoint.h index 2f31f3526..21f5bed68 100644 --- a/src/libs/vlayout/vsapoint.h +++ b/src/libs/vlayout/vsapoint.h @@ -98,9 +98,9 @@ Q_DECLARE_TYPEINFO(VSAPoint, Q_MOVABLE_TYPE); // NOLINT // See https://stackoverflow.com/a/46719572/3045403 #if __cplusplus < 201703L -constexpr qreal VSAPoint::passmarkFactor; // NOLINT(readability-redundant-declaration) -constexpr qreal VSAPoint::maxPassmarkLength; // NOLINT(readability-redundant-declaration) -constexpr qreal VSAPoint::minSAWidth; // NOLINT(readability-redundant-declaration) +inline constexpr qreal VSAPoint::passmarkFactor; // NOLINT(readability-redundant-declaration) +inline constexpr qreal VSAPoint::maxPassmarkLength; // NOLINT(readability-redundant-declaration) +inline constexpr qreal VSAPoint::minSAWidth; // NOLINT(readability-redundant-declaration) #endif //---------------------------------------------------------------------------------------------------------------------