1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-03-04 03:07:29 +01:00

Update Vector.hpp

This commit is contained in:
Sandu Liviu Catalin 2021-02-03 23:16:59 +02:00
parent 35ff0e6eea
commit e1741ada5d

View File

@ -270,7 +270,7 @@ template < class T > struct SqVector
*/ */
SQMOD_NODISCARD bool IsNull() const SQMOD_NODISCARD bool IsNull() const
{ {
return static_cast< bool >(mC); return !mC;
} }
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------