mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
remove unused typedefs (#1138)
This was done in C++98 times. No longer needed with auto. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
528b84fbde
commit
23186f24ff
@ -68,8 +68,7 @@ class FileRef::StreamTypeResolver::StreamTypeResolverPrivate
|
||||
|
||||
namespace
|
||||
{
|
||||
typedef List<const FileRef::FileTypeResolver *> ResolverList;
|
||||
ResolverList fileTypeResolvers;
|
||||
List<const FileRef::FileTypeResolver *> fileTypeResolvers;
|
||||
|
||||
// Detect the file type by user-defined resolvers.
|
||||
|
||||
|
@ -48,10 +48,6 @@ using namespace TagLib;
|
||||
|
||||
namespace
|
||||
{
|
||||
typedef List<FLAC::MetadataBlock *> BlockList;
|
||||
typedef BlockList::Iterator BlockIterator;
|
||||
typedef BlockList::ConstIterator BlockConstIterator;
|
||||
|
||||
enum { FlacXiphIndex = 0, FlacID3v2Index = 1, FlacID3v1Index = 2 };
|
||||
|
||||
const long MinPaddingLength = 4096;
|
||||
@ -87,7 +83,7 @@ public:
|
||||
|
||||
Properties *properties { nullptr };
|
||||
ByteVector xiphCommentData;
|
||||
BlockList blocks;
|
||||
List<FLAC::MetadataBlock *> blocks;
|
||||
|
||||
offset_t flacStart { 0 };
|
||||
offset_t streamStart { 0 };
|
||||
|
@ -35,16 +35,6 @@
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
namespace
|
||||
{
|
||||
typedef Ogg::FieldListMap::Iterator FieldIterator;
|
||||
typedef Ogg::FieldListMap::ConstIterator FieldConstIterator;
|
||||
|
||||
typedef List<FLAC::Picture *> PictureList;
|
||||
typedef PictureList::Iterator PictureIterator;
|
||||
typedef PictureList::ConstIterator PictureConstIterator;
|
||||
} // namespace
|
||||
|
||||
class Ogg::XiphComment::XiphCommentPrivate
|
||||
{
|
||||
public:
|
||||
@ -56,7 +46,7 @@ public:
|
||||
FieldListMap fieldListMap;
|
||||
String vendorID;
|
||||
String commentField;
|
||||
PictureList pictureList;
|
||||
List<FLAC::Picture *> pictureList;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user