taglib: Remove unused functions + add virtual and explicit

This commit is contained in:
Jonas Kvinge
2020-06-22 02:32:37 +02:00
parent 3a3dc02a66
commit 248e487dd5
117 changed files with 452 additions and 653 deletions

View File

@@ -39,14 +39,16 @@ namespace TagLib {
class TagUnion : public Tag {
public:
enum AccessType { Read,
Write };
enum AccessType {
Read,
Write
};
/*!
* Creates a TagLib::Tag that is the union of \a first, \a second, and \a third.
* The TagUnion takes ownership of these tags and will handle their deletion.
*/
TagUnion(Tag *first = nullptr, Tag *second = nullptr, Tag *third = nullptr);
explicit TagUnion(Tag *first = nullptr, Tag *second = nullptr, Tag *third = nullptr);
virtual ~TagUnion();
@@ -86,8 +88,8 @@ class TagUnion : public Tag {
}
private:
TagUnion(const Tag &);
TagUnion &operator=(const Tag &);
explicit TagUnion(const Tag&);
TagUnion &operator=(const Tag&);
class TagUnionPrivate;
TagUnionPrivate *d;