use qskFuzzyCompare
This commit is contained in:
parent
6d5c89fffa
commit
f49f2f7c3a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue