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

@@ -405,8 +405,8 @@ class Song {
QSharedDataPointer<Private> d;
};
typedef QList<Song> SongList;
typedef QMap<QString, Song> SongMap;
using SongList = QList<Song>;
using SongMap = QMap<QString, Song>;
Q_DECLARE_METATYPE(Song)
Q_DECLARE_METATYPE(SongList)