clang-tidy: use using instead of typedef (#1120)

Signed-off-by: Rosen Penev <[email protected]>
This commit is contained in:
Rosen Penev
2023-09-16 09:06:14 +02:00
committed by GitHub
parent 6ed0ca28db
commit 653c2fe9e1
23 changed files with 54 additions and 48 deletions
+5 -1
View File
@@ -152,7 +152,11 @@ namespace TagLib {
#ifdef DOXYGEN
}
#else
namespace Ogg { namespace Vorbis { typedef TagLib::Vorbis::File File; } }
namespace Ogg {
namespace Vorbis {
using File = TagLib::Vorbis::File;
}
}
#endif
} // namespace TagLib
+5 -1
View File
@@ -136,7 +136,11 @@ namespace TagLib {
#ifdef DOXYGEN
}
#else
namespace Ogg { namespace Vorbis { typedef TagLib::Vorbis::Properties Properties; } }
namespace Ogg {
namespace Vorbis {
using Properties = TagLib::Vorbis::Properties;
}
}
#endif
} // namespace TagLib
+1 -1
View File
@@ -50,7 +50,7 @@ namespace TagLib {
*
* \see XiphComment::fieldListMap()
*/
typedef Map<String, StringList> FieldListMap;
using FieldListMap = Map<String, StringList>;
//! Ogg Vorbis comment implementation