mirror of
https://github.com/taglib/taglib.git
synced 2025-10-04 10:35:12 -04:00
clang-tidy: use using instead of typedef (#1120)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -50,7 +50,7 @@ namespace TagLib {
|
||||
*
|
||||
* \see XiphComment::fieldListMap()
|
||||
*/
|
||||
typedef Map<String, StringList> FieldListMap;
|
||||
using FieldListMap = Map<String, StringList>;
|
||||
|
||||
//! Ogg Vorbis comment implementation
|
||||
|
||||
|
Reference in New Issue
Block a user