QmlJS: Make destructor of base class virtual

Change-Id: I11233c4fde6e1db09b604965f07ae32741c1bddf
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-29 17:08:05 +01:00
parent 6365eda349
commit 9c895ed6f1

View File

@@ -63,7 +63,7 @@ class QMLJS_EXPORT ValueOwner
public:
static SharedValueOwner *sharedValueOwner(QString kind = QString());
ValueOwner(const SharedValueOwner *shared = 0);
~ValueOwner();
virtual ~ValueOwner();
const NullValue *nullValue() const;
const UndefinedValue *undefinedValue() const;