diff options
-rw-r--r-- | src/entity.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index 29777c13..94e6cb62 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -30,6 +30,7 @@ struct entity_proto entity_proto(const entity_proto&); virtual bool operator==(const entity_proto&) const; + bool operator!=(const entity_proto& o) const { return !operator==(o); } virtual ~entity_proto() noexcept; entity_type type_of() const noexcept; |