dtor added
This commit is contained in:
parent
e7a830db96
commit
5e5ba3b31f
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
//Entity::Entity() {}
|
//Entity::Entity() {}
|
||||||
|
|
||||||
|
Entity::~Entity() {}
|
||||||
|
|
||||||
void Entity::createUuid()
|
void Entity::createUuid()
|
||||||
{
|
{
|
||||||
static boost::uuids::random_generator generator{};
|
static boost::uuids::random_generator generator{};
|
||||||
|
|
|
@ -9,7 +9,7 @@ class Entity
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//Entity();
|
//Entity();
|
||||||
//ivirtual ~Entity() = 0;
|
virtual ~Entity() = 0;
|
||||||
const boost::uuids::uuid& getUuid() const { return uuid; };
|
const boost::uuids::uuid& getUuid() const { return uuid; };
|
||||||
void createUuid();
|
void createUuid();
|
||||||
void createUuidFromString(const std::string& uuidString);
|
void createUuidFromString(const std::string& uuidString);
|
||||||
|
|
Loading…
Reference in a new issue