From 1c8f175159520518f05da9b287c783b692bd453f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 13 Jun 2023 22:21:44 +0200 Subject: fix very annoying gcc warning --- src/entity.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3