diff options
Diffstat (limited to 'logic/BaseVersion.h')
-rw-r--r-- | logic/BaseVersion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/BaseVersion.h b/logic/BaseVersion.h index be717fee..01745c46 100644 --- a/logic/BaseVersion.h +++ b/logic/BaseVersion.h @@ -14,7 +14,7 @@ */ #pragma once -#include <QSharedPointer> +#include <memory> /*! * An abstract base class for versions. @@ -40,6 +40,6 @@ struct BaseVersion virtual QString typeString() const = 0; }; -typedef QSharedPointer<BaseVersion> BaseVersionPtr; +typedef std::shared_ptr<BaseVersion> BaseVersionPtr; Q_DECLARE_METATYPE( BaseVersionPtr )
\ No newline at end of file |