use qskFuzzyCompare

This commit is contained in:
Vogel, Rick 2023-07-17 10:24:36 +02:00
parent 6d5c89fffa
commit f49f2f7c3a
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#include "QskLevelingSensor.h"
#include <QskScaleTickmarks.h>
#include <QskFunctions.h>
namespace
{
@ -17,7 +18,7 @@ namespace
template<>
bool compareExchange<float>(float& dst, const float& src)
{
if (!qFuzzyCompare(dst, src))
if (!qskFuzzyCompare(dst, src))
{
dst = src;
return true;