diff --git a/src/core/entity.cpp b/src/core/entity.cpp index 517317e..df76d01 100644 --- a/src/core/entity.cpp +++ b/src/core/entity.cpp @@ -7,6 +7,8 @@ //Entity::Entity() {} +Entity::~Entity() {} + void Entity::createUuid() { static boost::uuids::random_generator generator{}; diff --git a/src/core/entity.h b/src/core/entity.h index 06f53c6..e416ea7 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -9,7 +9,7 @@ class Entity { public: //Entity(); - //ivirtual ~Entity() = 0; + virtual ~Entity() = 0; const boost::uuids::uuid& getUuid() const { return uuid; }; void createUuid(); void createUuidFromString(const std::string& uuidString);