Try make clang happy again

This commit is contained in:
mittorn 2018-07-29 21:21:25 +07:00
parent c4ce9bb1fa
commit f40f69cb76
1 changed files with 4 additions and 1 deletions

View File

@ -37,13 +37,16 @@ public:
Set(0);
return 0;
}
operator int ()
{
return Get() != NULL;
}
bool operator !=(EHBasePlayerItem &other)
{
return Get() != other.Get();
}
bool operator !=(my_nullptr_t &null)
{
return Get() != (edict_t*)0;