From b99ed6ec9bdc76ee8eb7244a6a03a5e6b1eaa05a Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Mon, 17 Jun 2024 12:07:29 +0200 Subject: [PATCH] compiler warnings ( unused definitions ) fixed --- src/common/QskGraduation.cpp | 2 -- src/common/QskMetaInvokable.cpp | 9 --------- 2 files changed, 11 deletions(-) diff --git a/src/common/QskGraduation.cpp b/src/common/QskGraduation.cpp index 3d20132d..1eab1f28 100644 --- a/src/common/QskGraduation.cpp +++ b/src/common/QskGraduation.cpp @@ -17,8 +17,6 @@ namespace Engine { // What about using qskFuzzyCompare and friends ??? - const double _eps = 1.0e-6; - inline int fuzzyCompare( double value1, double value2, double intervalSize ) { const double eps = std::abs( 1.0e-6 * intervalSize ); diff --git a/src/common/QskMetaInvokable.cpp b/src/common/QskMetaInvokable.cpp index 09a576f0..31a6c0df 100644 --- a/src/common/QskMetaInvokable.cpp +++ b/src/common/QskMetaInvokable.cpp @@ -26,15 +26,6 @@ static void qskRegisterMetaInvokable() Q_CONSTRUCTOR_FUNCTION( qskRegisterMetaInvokable ) -static inline void* qskMetaTypeCreate( int type, const void* copy ) -{ -#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 ) - return QMetaType( type ).create( copy ); -#else - return QMetaType::create( type, copy ); -#endif -} - namespace { using CallFunction = QObjectPrivate::StaticMetaCallFunction;