mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 20:56:41 +02:00
add a destructor for Assignment
This commit is contained in:
parent
bb6185ca36
commit
54b50e0e76
2 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,11 @@ Assignment::Assignment(const unsigned char* dataBuffer, int numBytes) :
|
|||
}
|
||||
}
|
||||
|
||||
Assignment::~Assignment() {
|
||||
delete _domainSocket;
|
||||
delete _pool;
|
||||
}
|
||||
|
||||
int Assignment::packToBuffer(unsigned char* buffer) {
|
||||
int numPackedBytes = 0;
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ public:
|
|||
|
||||
Assignment(Assignment::Direction direction, Assignment::Type type, const char* pool = NULL);
|
||||
Assignment(const unsigned char* dataBuffer, int numBytes);
|
||||
~Assignment();
|
||||
|
||||
Assignment::Direction getDirection() const { return _direction; }
|
||||
Assignment::Type getType() const { return _type; }
|
||||
|
|
Loading…
Reference in a new issue