diff options
Diffstat (limited to 'api/logic/meta/Version.h')
-rw-r--r-- | api/logic/meta/Version.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/meta/Version.h b/api/logic/meta/Version.h index f132b861..2f92ee9f 100644 --- a/api/logic/meta/Version.h +++ b/api/logic/meta/Version.h @@ -38,6 +38,7 @@ class MULTIMC_LOGIC_EXPORT Version : public QObject, public BaseVersion, public public: /* con/des */ explicit Version(const QString &uid, const QString &version); + virtual ~Version(); QString descriptor() override; QString name() override; @@ -104,7 +105,7 @@ private: QString m_parentUid; QString m_version; QString m_type; - qint64 m_time; + qint64 m_time = 0; QHash<QString, QString> m_requires; VersionFilePtr m_data; }; |