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:
parent
35ff0e6eea
commit
e1741ada5d
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user