Skip to content

Commit

Permalink
compiler warnings ( unused definitions ) fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
uwerat committed Jun 17, 2024
1 parent 278fca2 commit b99ed6e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/common/QskGraduation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
9 changes: 0 additions & 9 deletions src/common/QskMetaInvokable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b99ed6e

Please sign in to comment.