clang-tidy: Delete unimplemented private constructors

run-clang-tidy -header-filter='.*' -checks='-*,modernize-use-equals-delete' -fix
This commit is contained in:
Urs Fleisch
2023-07-16 07:00:43 +02:00
parent 77ab5e9689
commit 231772b2ad
72 changed files with 148 additions and 148 deletions

View File

@ -221,8 +221,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -160,8 +160,8 @@ namespace TagLib {
ByteVector render(bool isHeader) const;
private:
Footer(const Footer &);
Footer &operator=(const Footer &);
Footer(const Footer &) = delete;
Footer &operator=(const Footer &) = delete;
class FooterPrivate;
FooterPrivate *d;

View File

@ -99,8 +99,8 @@ namespace TagLib {
int version() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file, offset_t streamLength);

View File

@ -196,8 +196,8 @@ namespace TagLib {
void parse(const ByteVector &data);
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -118,8 +118,8 @@ namespace TagLib {
AudioProperties(ReadStyle style);
private:
AudioProperties(const AudioProperties &);
AudioProperties &operator=(const AudioProperties &);
AudioProperties(const AudioProperties &) = delete;
AudioProperties &operator=(const AudioProperties &) = delete;
class AudioPropertiesPrivate;
AudioPropertiesPrivate *d;

View File

@ -301,8 +301,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);
void scan();

View File

@ -59,8 +59,8 @@ namespace TagLib {
virtual ByteVector render() const = 0;
private:
MetadataBlock(const MetadataBlock &item);
MetadataBlock &operator=(const MetadataBlock &item);
MetadataBlock(const MetadataBlock &item) = delete;
MetadataBlock &operator=(const MetadataBlock &item) = delete;
class MetadataBlockPrivate;
MetadataBlockPrivate *d;

View File

@ -190,8 +190,8 @@ namespace TagLib {
bool parse(const ByteVector &rawData);
private:
Picture(const Picture &item);
Picture &operator=(const Picture &item);
Picture(const Picture &item) = delete;
Picture &operator=(const Picture &item) = delete;
class PicturePrivate;
PicturePrivate *d;

View File

@ -97,8 +97,8 @@ namespace TagLib {
ByteVector signature() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(const ByteVector &data, offset_t streamLength);

View File

@ -83,8 +83,8 @@ namespace TagLib {
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -90,8 +90,8 @@ namespace TagLib {
void setPitchWheelDepth(unsigned char pitchWheelDepth);
private:
Properties(const Properties&);
Properties &operator=(const Properties&);
Properties(const Properties&) = delete;
Properties &operator=(const Properties&) = delete;
class PropertiesPrivate;
PropertiesPrivate *d;

View File

@ -96,8 +96,8 @@ namespace TagLib {
bool save() override;
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -52,8 +52,8 @@ namespace TagLib {
private:
friend class File;
Properties(const Properties&);
Properties &operator=(const Properties&);
Properties(const Properties&) = delete;
Properties &operator=(const Properties&) = delete;
class PropertiesPrivate;
PropertiesPrivate *d;

View File

@ -178,8 +178,8 @@ namespace TagLib {
PropertyMap setProperties(const PropertyMap &) override;
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -218,8 +218,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -116,8 +116,8 @@ namespace TagLib {
int albumPeak() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void readSV7(const ByteVector &data, offset_t streamLength);
void readSV8(File *file, offset_t streamLength);

View File

@ -190,8 +190,8 @@ namespace TagLib {
void parse(const ByteVector &data);
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -209,8 +209,8 @@ namespace TagLib {
AttachedPictureFramePrivate *d;
private:
AttachedPictureFrame(const AttachedPictureFrame &);
AttachedPictureFrame &operator=(const AttachedPictureFrame &);
AttachedPictureFrame(const AttachedPictureFrame &) = delete;
AttachedPictureFrame &operator=(const AttachedPictureFrame &) = delete;
AttachedPictureFrame(const ByteVector &data, Header *h);
};

View File

@ -237,8 +237,8 @@ namespace TagLib {
private:
ChapterFrame(const ID3v2::Header *tagHeader, const ByteVector &data, Header *h);
ChapterFrame(const ChapterFrame &);
ChapterFrame &operator=(const ChapterFrame &);
ChapterFrame(const ChapterFrame &) = delete;
ChapterFrame &operator=(const ChapterFrame &) = delete;
class ChapterFramePrivate;
ChapterFramePrivate *d;

View File

@ -167,8 +167,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
CommentsFrame(const ByteVector &data, Header *h);
CommentsFrame(const CommentsFrame &);
CommentsFrame &operator=(const CommentsFrame &);
CommentsFrame(const CommentsFrame &) = delete;
CommentsFrame &operator=(const CommentsFrame &) = delete;
class CommentsFramePrivate;
CommentsFramePrivate *d;

View File

@ -173,8 +173,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
EventTimingCodesFrame(const ByteVector &data, Header *h);
EventTimingCodesFrame(const EventTimingCodesFrame &);
EventTimingCodesFrame &operator=(const EventTimingCodesFrame &);
EventTimingCodesFrame(const EventTimingCodesFrame &) = delete;
EventTimingCodesFrame &operator=(const EventTimingCodesFrame &) = delete;
class EventTimingCodesFramePrivate;
EventTimingCodesFramePrivate *d;

View File

@ -167,8 +167,8 @@ namespace TagLib {
private:
GeneralEncapsulatedObjectFrame(const ByteVector &data, Header *h);
GeneralEncapsulatedObjectFrame(const GeneralEncapsulatedObjectFrame &);
GeneralEncapsulatedObjectFrame &operator=(const GeneralEncapsulatedObjectFrame &);
GeneralEncapsulatedObjectFrame(const GeneralEncapsulatedObjectFrame &) = delete;
GeneralEncapsulatedObjectFrame &operator=(const GeneralEncapsulatedObjectFrame &) = delete;
class GeneralEncapsulatedObjectFramePrivate;
GeneralEncapsulatedObjectFramePrivate *d;

View File

@ -139,8 +139,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
OwnershipFrame(const ByteVector &data, Header *h);
OwnershipFrame(const OwnershipFrame &);
OwnershipFrame &operator=(const OwnershipFrame &);
OwnershipFrame(const OwnershipFrame &) = delete;
OwnershipFrame &operator=(const OwnershipFrame &) = delete;
class OwnershipFramePrivate;
OwnershipFramePrivate *d;

View File

@ -70,8 +70,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
PodcastFrame(const ByteVector &data, Header *h);
PodcastFrame(const PodcastFrame &);
PodcastFrame &operator=(const PodcastFrame &);
PodcastFrame(const PodcastFrame &) = delete;
PodcastFrame &operator=(const PodcastFrame &) = delete;
class PodcastFramePrivate;
PodcastFramePrivate *d;

View File

@ -120,8 +120,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
PopularimeterFrame(const ByteVector &data, Header *h);
PopularimeterFrame(const PopularimeterFrame &);
PopularimeterFrame &operator=(const PopularimeterFrame &);
PopularimeterFrame(const PopularimeterFrame &) = delete;
PopularimeterFrame &operator=(const PopularimeterFrame &) = delete;
class PopularimeterFramePrivate;
PopularimeterFramePrivate *d;

View File

@ -99,8 +99,8 @@ namespace TagLib {
*/
PrivateFrame(const ByteVector &data, Header *h);
PrivateFrame(const PrivateFrame &);
PrivateFrame &operator=(const PrivateFrame &);
PrivateFrame(const PrivateFrame &) = delete;
PrivateFrame &operator=(const PrivateFrame &) = delete;
class PrivateFramePrivate;
PrivateFramePrivate *d;

View File

@ -219,8 +219,8 @@ namespace TagLib {
private:
RelativeVolumeFrame(const ByteVector &data, Header *h);
RelativeVolumeFrame(const RelativeVolumeFrame &);
RelativeVolumeFrame &operator=(const RelativeVolumeFrame &);
RelativeVolumeFrame(const RelativeVolumeFrame &) = delete;
RelativeVolumeFrame &operator=(const RelativeVolumeFrame &) = delete;
class RelativeVolumeFramePrivate;
RelativeVolumeFramePrivate *d;

View File

@ -219,8 +219,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
SynchronizedLyricsFrame(const ByteVector &data, Header *h);
SynchronizedLyricsFrame(const SynchronizedLyricsFrame &);
SynchronizedLyricsFrame &operator=(const SynchronizedLyricsFrame &);
SynchronizedLyricsFrame(const SynchronizedLyricsFrame &) = delete;
SynchronizedLyricsFrame &operator=(const SynchronizedLyricsFrame &) = delete;
class SynchronizedLyricsFramePrivate;
SynchronizedLyricsFramePrivate *d;

View File

@ -248,8 +248,8 @@ namespace TagLib {
private:
TableOfContentsFrame(const ID3v2::Header *tagHeader, const ByteVector &data, Header *h);
TableOfContentsFrame(const TableOfContentsFrame &);
TableOfContentsFrame &operator=(const TableOfContentsFrame &);
TableOfContentsFrame(const TableOfContentsFrame &) = delete;
TableOfContentsFrame &operator=(const TableOfContentsFrame &) = delete;
class TableOfContentsFramePrivate;
TableOfContentsFramePrivate *d;

View File

@ -209,8 +209,8 @@ namespace TagLib {
TextIdentificationFrame(const ByteVector &data, Header *h);
private:
TextIdentificationFrame(const TextIdentificationFrame &);
TextIdentificationFrame &operator=(const TextIdentificationFrame &);
TextIdentificationFrame(const TextIdentificationFrame &) = delete;
TextIdentificationFrame &operator=(const TextIdentificationFrame &) = delete;
/*!
* Parses the special structure of a TIPL frame

View File

@ -109,8 +109,8 @@ namespace TagLib {
ByteVector renderFields() const override;
private:
UniqueFileIdentifierFrame(const UniqueFileIdentifierFrame &);
UniqueFileIdentifierFrame &operator=(const UniqueFileIdentifierFrame &);
UniqueFileIdentifierFrame(const UniqueFileIdentifierFrame &) = delete;
UniqueFileIdentifierFrame &operator=(const UniqueFileIdentifierFrame &) = delete;
UniqueFileIdentifierFrame(const ByteVector &data, Header *h);

View File

@ -67,8 +67,8 @@ namespace TagLib {
private:
UnknownFrame(const ByteVector &data, Header *h);
UnknownFrame(const UnknownFrame &);
UnknownFrame &operator=(const UnknownFrame &);
UnknownFrame(const UnknownFrame &) = delete;
UnknownFrame &operator=(const UnknownFrame &) = delete;
class UnknownFramePrivate;
UnknownFramePrivate *d;

View File

@ -167,8 +167,8 @@ namespace TagLib {
* The constructor used by the FrameFactory.
*/
UnsynchronizedLyricsFrame(const ByteVector &data, Header *h);
UnsynchronizedLyricsFrame(const UnsynchronizedLyricsFrame &);
UnsynchronizedLyricsFrame &operator=(const UnsynchronizedLyricsFrame &);
UnsynchronizedLyricsFrame(const UnsynchronizedLyricsFrame &) = delete;
UnsynchronizedLyricsFrame &operator=(const UnsynchronizedLyricsFrame &) = delete;
class UnsynchronizedLyricsFramePrivate;
UnsynchronizedLyricsFramePrivate *d;

View File

@ -81,8 +81,8 @@ namespace TagLib {
UrlLinkFrame(const ByteVector &data, Header *h);
private:
UrlLinkFrame(const UrlLinkFrame &);
UrlLinkFrame &operator=(const UrlLinkFrame &);
UrlLinkFrame(const UrlLinkFrame &) = delete;
UrlLinkFrame &operator=(const UrlLinkFrame &) = delete;
class UrlLinkFramePrivate;
UrlLinkFramePrivate *d;
@ -178,8 +178,8 @@ namespace TagLib {
UserUrlLinkFrame(const ByteVector &data, Header *h);
private:
UserUrlLinkFrame(const UserUrlLinkFrame &);
UserUrlLinkFrame &operator=(const UserUrlLinkFrame &);
UserUrlLinkFrame(const UserUrlLinkFrame &) = delete;
UserUrlLinkFrame &operator=(const UserUrlLinkFrame &) = delete;
class UserUrlLinkFramePrivate;
UserUrlLinkFramePrivate *d;

View File

@ -81,8 +81,8 @@ namespace TagLib {
void parse(const ByteVector &data);
private:
ExtendedHeader(const ExtendedHeader &);
ExtendedHeader &operator=(const ExtendedHeader &);
ExtendedHeader(const ExtendedHeader &) = delete;
ExtendedHeader &operator=(const ExtendedHeader &) = delete;
class ExtendedHeaderPrivate;
ExtendedHeaderPrivate *d;

View File

@ -70,8 +70,8 @@ namespace TagLib {
ByteVector render(const Header *header) const;
private:
Footer(const Footer &);
Footer &operator=(const Footer &);
Footer(const Footer &) = delete;
Footer &operator=(const Footer &) = delete;
class FooterPrivate;
FooterPrivate *d;

View File

@ -272,8 +272,8 @@ namespace TagLib {
PropertyMap &tiplProperties, PropertyMap &tmclProperties);
private:
Frame(const Frame &);
Frame &operator=(const Frame &);
Frame(const Frame &) = delete;
Frame &operator=(const Frame &) = delete;
class FramePrivate;
friend class FramePrivate;
@ -440,8 +440,8 @@ namespace TagLib {
ByteVector render() const;
private:
Header(const Header &);
Header &operator=(const Header &);
Header(const Header &) = delete;
Header &operator=(const Header &) = delete;
class HeaderPrivate;
HeaderPrivate *d;

View File

@ -128,8 +128,8 @@ namespace TagLib {
virtual bool updateFrame(Frame::Header *header) const;
private:
FrameFactory(const FrameFactory &);
FrameFactory &operator=(const FrameFactory &);
FrameFactory(const FrameFactory &) = delete;
FrameFactory &operator=(const FrameFactory &) = delete;
static FrameFactory factory;

View File

@ -163,8 +163,8 @@ namespace TagLib {
void parse(const ByteVector &data);
private:
Header(const Header &);
Header &operator=(const Header &);
Header(const Header &) = delete;
Header &operator=(const Header &) = delete;
class HeaderPrivate;
HeaderPrivate *d;

View File

@ -383,8 +383,8 @@ namespace TagLib {
void downgradeFrames(FrameList *existingFrames, FrameList *newFrames) const;
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -320,8 +320,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);
offset_t findID3v2();

View File

@ -118,8 +118,8 @@ namespace TagLib {
bool isOriginal() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -106,8 +106,8 @@ namespace TagLib {
HeaderType type() const;
private:
XingHeader(const XingHeader &);
XingHeader &operator=(const XingHeader &);
XingHeader(const XingHeader &) = delete;
XingHeader &operator=(const XingHeader &) = delete;
void parse(const ByteVector &data);

View File

@ -152,8 +152,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties, Properties::ReadStyle propertiesStyle);
void scan();

View File

@ -103,8 +103,8 @@ namespace TagLib {
File(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
/*!
* Reads the pages from the beginning of the file until enough to compose

View File

@ -207,8 +207,8 @@ namespace TagLib {
bool containsLastPacket = false);
private:
Page(const Page &);
Page &operator=(const Page &);
Page(const Page &) = delete;
Page &operator=(const Page &) = delete;
class PagePrivate;
PagePrivate *d;

View File

@ -216,8 +216,8 @@ namespace TagLib {
ByteVector render() const;
private:
PageHeader(const PageHeader &);
PageHeader &operator=(const PageHeader &);
PageHeader(const PageHeader &) = delete;
PageHeader &operator=(const PageHeader &) = delete;
void read(Ogg::File *file, offset_t pageOffset);
ByteVector lacingValues() const;

View File

@ -123,8 +123,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -99,8 +99,8 @@ namespace TagLib {
int opusVersion() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -123,8 +123,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -94,8 +94,8 @@ namespace TagLib {
int speexVersion() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -132,8 +132,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -115,8 +115,8 @@ namespace TagLib {
int bitrateMinimum() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -254,8 +254,8 @@ namespace TagLib {
void parse(const ByteVector &data);
private:
XiphComment(const XiphComment &);
XiphComment &operator=(const XiphComment &);
XiphComment(const XiphComment &) = delete;
XiphComment &operator=(const XiphComment &) = delete;
class XiphCommentPrivate;
XiphCommentPrivate *d;

View File

@ -140,8 +140,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -114,8 +114,8 @@ namespace TagLib {
String compressionName() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -140,8 +140,8 @@ namespace TagLib {
void removeChunk(const ByteVector &name);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read();
void writeChunk(const ByteVector &name, const ByteVector &data,

View File

@ -180,8 +180,8 @@ namespace TagLib {
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -192,8 +192,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);
void removeTagChunks(TagTypes tags);

View File

@ -103,8 +103,8 @@ namespace TagLib {
int format() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file);

View File

@ -98,8 +98,8 @@ namespace TagLib {
bool save() override;
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -77,8 +77,8 @@ namespace TagLib {
void setBpmSpeed(unsigned char bpmSpeed);
private:
Properties(const Properties&);
Properties &operator=(const Properties&);
Properties(const Properties&) = delete;
Properties &operator=(const Properties&) = delete;
class PropertiesPrivate;
PropertiesPrivate *d;

View File

@ -187,8 +187,8 @@ namespace TagLib {
Tag();
private:
Tag(const Tag &);
Tag &operator=(const Tag &);
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
class TagPrivate;
TagPrivate *d;

View File

@ -54,8 +54,8 @@ namespace TagLib
private:
// Noncopyable
DebugListener(const DebugListener &);
DebugListener &operator=(const DebugListener &);
DebugListener(const DebugListener &) = delete;
DebugListener &operator=(const DebugListener &) = delete;
};
/*!

View File

@ -293,8 +293,8 @@ namespace TagLib {
static unsigned int bufferSize();
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
class FilePrivate;
FilePrivate *d;

View File

@ -158,8 +158,8 @@ namespace TagLib {
virtual void truncate(offset_t length) = 0;
private:
IOStream(const IOStream &);
IOStream &operator=(const IOStream &);
IOStream(const IOStream &) = delete;
IOStream &operator=(const IOStream &) = delete;
};
} // namespace TagLib

View File

@ -237,8 +237,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -106,8 +106,8 @@ namespace TagLib {
int ttaVersion() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(const ByteVector &data, offset_t streamLength);

View File

@ -209,8 +209,8 @@ namespace TagLib {
static bool isSupported(IOStream *stream);
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -105,8 +105,8 @@ namespace TagLib {
int version() const;
private:
Properties(const Properties &);
Properties &operator=(const Properties &);
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
void read(File *file, offset_t streamLength);
unsigned int seekFinalIndex(File *file, offset_t streamLength);

View File

@ -98,8 +98,8 @@ namespace TagLib {
bool save() override;
private:
File(const File &);
File &operator=(const File &);
File(const File &) = delete;
File &operator=(const File &) = delete;
void read(bool readProperties);

View File

@ -68,8 +68,8 @@ namespace TagLib {
void setBpmSpeed(unsigned short bpmSpeed);
private:
Properties(const Properties&);
Properties &operator=(const Properties&);
Properties(const Properties&) = delete;
Properties &operator=(const Properties&) = delete;
class PropertiesPrivate;
PropertiesPrivate *d;