Replace typedef with using

This commit is contained in:
Jonas Kvinge
2022-10-13 22:39:31 +02:00
parent 61204e8d35
commit b22320c48f
62 changed files with 90 additions and 116 deletions

View File

@@ -131,8 +131,8 @@ class PlaylistItem : public std::enable_shared_from_this<PlaylistItem> {
Q_DISABLE_COPY(PlaylistItem)
};
typedef std::shared_ptr<PlaylistItem> PlaylistItemPtr;
typedef QList<PlaylistItemPtr> PlaylistItemList;
using PlaylistItemPtr = std::shared_ptr<PlaylistItem>;
using PlaylistItemList = QList<PlaylistItemPtr>;
Q_DECLARE_METATYPE(PlaylistItemPtr)
Q_DECLARE_METATYPE(PlaylistItemList)