Add virtual destructor to SGReferenced.

This commit is contained in:
ThorstenB
2012-04-21 20:50:07 +02:00
parent 4b607d6484
commit 4abcf3215f

View File

@@ -32,6 +32,8 @@ class SGReferenced {
public:
SGReferenced(void) : _refcount(0u)
{}
virtual ~SGReferenced()
{}
/// Do not copy reference counts. Each new object has it's own counter
SGReferenced(const SGReferenced&) : _refcount(0u)
{}