dtor added

This commit is contained in:
Martin Brodbeck 2018-07-09 20:51:33 +02:00
parent e7a830db96
commit 5e5ba3b31f
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
//Entity::Entity() {}
Entity::~Entity() {}
void Entity::createUuid()
{
static boost::uuids::random_generator generator{};

View File

@ -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);