From 6e77a8401b43e85492fda4c4d37db0a11b095213 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 22 Nov 2022 08:34:32 +0200 Subject: [PATCH] Fix build. --- src/libs/vlayout/vsapoint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 //---------------------------------------------------------------------------------------------------------------------