Made EntityWrapper hashable

This commit is contained in:
2016-01-18 14:55:49 +01:00
parent 504f301e4d
commit 3bc7dceca5
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
const EntityWrapper EntityWrapper::Invalid = EntityWrapper(nullptr, EntityID_Invalid);
bool EntityWrapper::operator==(const EntityWrapper& e)
bool EntityWrapper::operator==(const EntityWrapper& e) const
{
return (this->World == e.World) && (this->ID == e.ID);
}