mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-02-08 07:17:14 +01:00
Changes required to compile on x64 and against extra compiler warnings.
This commit is contained in:
@@ -1243,6 +1243,7 @@ template < class T > void GlobalFilter< T >::Clear(SQInt32 header) noexcept
|
||||
// Now it's safe to reset the filter
|
||||
m_Filter.reset();
|
||||
}
|
||||
SQMOD_UNUSED_VAR(header);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -1264,6 +1265,7 @@ template < class T > void GlobalFilter< T >::Flip(SQInt32 header) noexcept
|
||||
// Hook from the newly filtered entities
|
||||
Hook();
|
||||
}
|
||||
SQMOD_UNUSED_VAR(header);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -1257,6 +1257,7 @@ template < class T > void LocalFilter< T >::Clear(SQInt32 header) noexcept
|
||||
// Now it's safe to reset the filter
|
||||
m_Filter.reset();
|
||||
}
|
||||
SQMOD_UNUSED_VAR(header);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -1278,6 +1279,7 @@ template < class T > void LocalFilter< T >::Flip(SQInt32 header) noexcept
|
||||
// Hook from the newly filtered entities
|
||||
Hook();
|
||||
}
|
||||
SQMOD_UNUSED_VAR(header);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Event/Shared.hpp"
|
||||
#include "Config.hpp"
|
||||
#include "Register.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -314,6 +315,7 @@ bool CanBeInversed(SQInt32 type) noexcept
|
||||
// ================================================================================================
|
||||
bool Register_Event(HSQUIRRELVM vm)
|
||||
{
|
||||
SQMOD_UNUSED_VAR(vm);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user