1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Add ObjectHandle::isNotNull()

This commit is contained in:
Sergey Lipskiy 2017-01-20 17:03:51 +07:00
parent e34ebdc543
commit e8145768df

View File

@ -12,6 +12,9 @@ namespace graphics {
bool operator==(const ObjectHandle & _other) const { return m_name == _other.m_name; }
bool operator!=(const ObjectHandle & _other) const { return m_name != _other.m_name; }
bool isNotNull() const { return m_name != 0; }
void reset() { m_name = 0; }
private: