Fix build with MSVC.

This commit is contained in:
Roman Telezhynskyi 2022-02-09 10:32:57 +02:00
parent 745f8f7c6c
commit 23e6d524b1

View File

@ -516,7 +516,7 @@ auto VAbstractCubicBezier::GetParmT(qreal length) const -> qreal
length = base;
}
constexpr qreal eps = UnitConvertor(0.001, Unit::Mm, Unit::Px);
Q_DECL_RELAXED_CONSTEXPR qreal eps = ToPixel(0.001, Unit::Mm);
qreal parT = 0.5;
qreal step = parT;
qreal splLength = 0;