suppress some warnings

This commit is contained in:
ohyzha
2025-03-05 13:34:48 +02:00
parent efcee95158
commit c5a0c52530
21 changed files with 34 additions and 36 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenVulkano::Math
template<typename T, typename = std::enable_if_t<std::is_integral_v<TYPE>>>
void Set(Vector4<T> vec4)
{
vec4 &= VALUE_BITMASK;
static_cast<void>(vec4 &= VALUE_BITMASK);
SetUnchecked(vec4);
}
#pragma GCC diagnostic pop