compiler warnings ( unused definitions ) fixed
This commit is contained in:
parent
278fca26d7
commit
b99ed6ec9b
@ -17,8 +17,6 @@ namespace Engine
|
|||||||
{
|
{
|
||||||
// What about using qskFuzzyCompare and friends ???
|
// What about using qskFuzzyCompare and friends ???
|
||||||
|
|
||||||
const double _eps = 1.0e-6;
|
|
||||||
|
|
||||||
inline int fuzzyCompare( double value1, double value2, double intervalSize )
|
inline int fuzzyCompare( double value1, double value2, double intervalSize )
|
||||||
{
|
{
|
||||||
const double eps = std::abs( 1.0e-6 * intervalSize );
|
const double eps = std::abs( 1.0e-6 * intervalSize );
|
||||||
|
@ -26,15 +26,6 @@ static void qskRegisterMetaInvokable()
|
|||||||
|
|
||||||
Q_CONSTRUCTOR_FUNCTION( 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
|
namespace
|
||||||
{
|
{
|
||||||
using CallFunction = QObjectPrivate::StaticMetaCallFunction;
|
using CallFunction = QObjectPrivate::StaticMetaCallFunction;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user