diff --git a/taglib/ape/apefile.h b/taglib/ape/apefile.h index ba442dde..199cd509 100644 --- a/taglib/ape/apefile.h +++ b/taglib/ape/apefile.h @@ -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); diff --git a/taglib/ape/apefooter.h b/taglib/ape/apefooter.h index 38d83a3a..6b495e62 100644 --- a/taglib/ape/apefooter.h +++ b/taglib/ape/apefooter.h @@ -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; diff --git a/taglib/ape/apeproperties.h b/taglib/ape/apeproperties.h index f8d72685..831d3ac5 100644 --- a/taglib/ape/apeproperties.h +++ b/taglib/ape/apeproperties.h @@ -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); diff --git a/taglib/ape/apetag.h b/taglib/ape/apetag.h index c0e7ae51..486d2b52 100644 --- a/taglib/ape/apetag.h +++ b/taglib/ape/apetag.h @@ -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; diff --git a/taglib/audioproperties.h b/taglib/audioproperties.h index 4b91b144..be3c4310 100644 --- a/taglib/audioproperties.h +++ b/taglib/audioproperties.h @@ -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; diff --git a/taglib/flac/flacfile.h b/taglib/flac/flacfile.h index e7663f5d..6c64d438 100644 --- a/taglib/flac/flacfile.h +++ b/taglib/flac/flacfile.h @@ -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(); diff --git a/taglib/flac/flacmetadatablock.h b/taglib/flac/flacmetadatablock.h index 45c7971d..f90d0339 100644 --- a/taglib/flac/flacmetadatablock.h +++ b/taglib/flac/flacmetadatablock.h @@ -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; diff --git a/taglib/flac/flacpicture.h b/taglib/flac/flacpicture.h index 3d3e2364..93468386 100644 --- a/taglib/flac/flacpicture.h +++ b/taglib/flac/flacpicture.h @@ -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; diff --git a/taglib/flac/flacproperties.h b/taglib/flac/flacproperties.h index 8bd34c03..1fe90c3f 100644 --- a/taglib/flac/flacproperties.h +++ b/taglib/flac/flacproperties.h @@ -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); diff --git a/taglib/it/itfile.h b/taglib/it/itfile.h index 168c319d..87259afd 100644 --- a/taglib/it/itfile.h +++ b/taglib/it/itfile.h @@ -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); diff --git a/taglib/it/itproperties.h b/taglib/it/itproperties.h index 6853eb55..d624f887 100644 --- a/taglib/it/itproperties.h +++ b/taglib/it/itproperties.h @@ -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; diff --git a/taglib/mod/modfile.h b/taglib/mod/modfile.h index 08cef8d6..12dcf53b 100644 --- a/taglib/mod/modfile.h +++ b/taglib/mod/modfile.h @@ -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); diff --git a/taglib/mod/modproperties.h b/taglib/mod/modproperties.h index 28f2d15e..78de8158 100644 --- a/taglib/mod/modproperties.h +++ b/taglib/mod/modproperties.h @@ -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; diff --git a/taglib/mod/modtag.h b/taglib/mod/modtag.h index 99b635ac..ad7cdbe8 100644 --- a/taglib/mod/modtag.h +++ b/taglib/mod/modtag.h @@ -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; diff --git a/taglib/mpc/mpcfile.h b/taglib/mpc/mpcfile.h index ddee0849..23931e9f 100644 --- a/taglib/mpc/mpcfile.h +++ b/taglib/mpc/mpcfile.h @@ -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); diff --git a/taglib/mpc/mpcproperties.h b/taglib/mpc/mpcproperties.h index 3183a26f..ae77c8cc 100644 --- a/taglib/mpc/mpcproperties.h +++ b/taglib/mpc/mpcproperties.h @@ -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); diff --git a/taglib/mpeg/id3v1/id3v1tag.h b/taglib/mpeg/id3v1/id3v1tag.h index c59de068..8bbf508b 100644 --- a/taglib/mpeg/id3v1/id3v1tag.h +++ b/taglib/mpeg/id3v1/id3v1tag.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/attachedpictureframe.h b/taglib/mpeg/id3v2/frames/attachedpictureframe.h index 9b317eff..f8aafc38 100644 --- a/taglib/mpeg/id3v2/frames/attachedpictureframe.h +++ b/taglib/mpeg/id3v2/frames/attachedpictureframe.h @@ -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); }; diff --git a/taglib/mpeg/id3v2/frames/chapterframe.h b/taglib/mpeg/id3v2/frames/chapterframe.h index e3c49dfe..0a11cc6b 100644 --- a/taglib/mpeg/id3v2/frames/chapterframe.h +++ b/taglib/mpeg/id3v2/frames/chapterframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/commentsframe.h b/taglib/mpeg/id3v2/frames/commentsframe.h index 6837a70f..b41be877 100644 --- a/taglib/mpeg/id3v2/frames/commentsframe.h +++ b/taglib/mpeg/id3v2/frames/commentsframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/eventtimingcodesframe.h b/taglib/mpeg/id3v2/frames/eventtimingcodesframe.h index 8df2f017..75f00b73 100644 --- a/taglib/mpeg/id3v2/frames/eventtimingcodesframe.h +++ b/taglib/mpeg/id3v2/frames/eventtimingcodesframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/generalencapsulatedobjectframe.h b/taglib/mpeg/id3v2/frames/generalencapsulatedobjectframe.h index e021d725..3fb10cdd 100644 --- a/taglib/mpeg/id3v2/frames/generalencapsulatedobjectframe.h +++ b/taglib/mpeg/id3v2/frames/generalencapsulatedobjectframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/ownershipframe.h b/taglib/mpeg/id3v2/frames/ownershipframe.h index 8b1b7043..f2771440 100644 --- a/taglib/mpeg/id3v2/frames/ownershipframe.h +++ b/taglib/mpeg/id3v2/frames/ownershipframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/podcastframe.h b/taglib/mpeg/id3v2/frames/podcastframe.h index 94695e7b..a1a6121d 100644 --- a/taglib/mpeg/id3v2/frames/podcastframe.h +++ b/taglib/mpeg/id3v2/frames/podcastframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/popularimeterframe.h b/taglib/mpeg/id3v2/frames/popularimeterframe.h index 3d6c1e20..ee18e38f 100644 --- a/taglib/mpeg/id3v2/frames/popularimeterframe.h +++ b/taglib/mpeg/id3v2/frames/popularimeterframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/privateframe.h b/taglib/mpeg/id3v2/frames/privateframe.h index 3c5810cd..a1765902 100644 --- a/taglib/mpeg/id3v2/frames/privateframe.h +++ b/taglib/mpeg/id3v2/frames/privateframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/relativevolumeframe.h b/taglib/mpeg/id3v2/frames/relativevolumeframe.h index f0ddd8c0..01f65ea3 100644 --- a/taglib/mpeg/id3v2/frames/relativevolumeframe.h +++ b/taglib/mpeg/id3v2/frames/relativevolumeframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/synchronizedlyricsframe.h b/taglib/mpeg/id3v2/frames/synchronizedlyricsframe.h index 6d331070..96b71980 100644 --- a/taglib/mpeg/id3v2/frames/synchronizedlyricsframe.h +++ b/taglib/mpeg/id3v2/frames/synchronizedlyricsframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/tableofcontentsframe.h b/taglib/mpeg/id3v2/frames/tableofcontentsframe.h index 600710b5..f29b0abc 100644 --- a/taglib/mpeg/id3v2/frames/tableofcontentsframe.h +++ b/taglib/mpeg/id3v2/frames/tableofcontentsframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/textidentificationframe.h b/taglib/mpeg/id3v2/frames/textidentificationframe.h index ec3c278a..ee338d40 100644 --- a/taglib/mpeg/id3v2/frames/textidentificationframe.h +++ b/taglib/mpeg/id3v2/frames/textidentificationframe.h @@ -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 diff --git a/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h b/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h index 20c2ad90..5937ff7b 100644 --- a/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h +++ b/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h @@ -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); diff --git a/taglib/mpeg/id3v2/frames/unknownframe.h b/taglib/mpeg/id3v2/frames/unknownframe.h index e738284c..7d64b5d8 100644 --- a/taglib/mpeg/id3v2/frames/unknownframe.h +++ b/taglib/mpeg/id3v2/frames/unknownframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.h b/taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.h index 4714bd9c..a034a5d3 100644 --- a/taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.h +++ b/taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/frames/urllinkframe.h b/taglib/mpeg/id3v2/frames/urllinkframe.h index 54fb49f7..4300ee04 100644 --- a/taglib/mpeg/id3v2/frames/urllinkframe.h +++ b/taglib/mpeg/id3v2/frames/urllinkframe.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2extendedheader.h b/taglib/mpeg/id3v2/id3v2extendedheader.h index a9054d56..64cf79f0 100644 --- a/taglib/mpeg/id3v2/id3v2extendedheader.h +++ b/taglib/mpeg/id3v2/id3v2extendedheader.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2footer.h b/taglib/mpeg/id3v2/id3v2footer.h index 12c51c31..a537eb37 100644 --- a/taglib/mpeg/id3v2/id3v2footer.h +++ b/taglib/mpeg/id3v2/id3v2footer.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2frame.h b/taglib/mpeg/id3v2/id3v2frame.h index 044ac4f8..d6d267e7 100644 --- a/taglib/mpeg/id3v2/id3v2frame.h +++ b/taglib/mpeg/id3v2/id3v2frame.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2framefactory.h b/taglib/mpeg/id3v2/id3v2framefactory.h index 59d09b1e..049daa84 100644 --- a/taglib/mpeg/id3v2/id3v2framefactory.h +++ b/taglib/mpeg/id3v2/id3v2framefactory.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2header.h b/taglib/mpeg/id3v2/id3v2header.h index edfe417b..fc4babe5 100644 --- a/taglib/mpeg/id3v2/id3v2header.h +++ b/taglib/mpeg/id3v2/id3v2header.h @@ -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; diff --git a/taglib/mpeg/id3v2/id3v2tag.h b/taglib/mpeg/id3v2/id3v2tag.h index a86a67c1..5893ed40 100644 --- a/taglib/mpeg/id3v2/id3v2tag.h +++ b/taglib/mpeg/id3v2/id3v2tag.h @@ -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; diff --git a/taglib/mpeg/mpegfile.h b/taglib/mpeg/mpegfile.h index bdbfae0d..a56aba8f 100644 --- a/taglib/mpeg/mpegfile.h +++ b/taglib/mpeg/mpegfile.h @@ -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(); diff --git a/taglib/mpeg/mpegproperties.h b/taglib/mpeg/mpegproperties.h index 09064692..e0d5bec7 100644 --- a/taglib/mpeg/mpegproperties.h +++ b/taglib/mpeg/mpegproperties.h @@ -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); diff --git a/taglib/mpeg/xingheader.h b/taglib/mpeg/xingheader.h index 02a61ada..28cf0f56 100644 --- a/taglib/mpeg/xingheader.h +++ b/taglib/mpeg/xingheader.h @@ -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); diff --git a/taglib/ogg/flac/oggflacfile.h b/taglib/ogg/flac/oggflacfile.h index a6dcdf48..e314da5a 100644 --- a/taglib/ogg/flac/oggflacfile.h +++ b/taglib/ogg/flac/oggflacfile.h @@ -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(); diff --git a/taglib/ogg/oggfile.h b/taglib/ogg/oggfile.h index dee42d10..b14afc06 100644 --- a/taglib/ogg/oggfile.h +++ b/taglib/ogg/oggfile.h @@ -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 diff --git a/taglib/ogg/oggpage.h b/taglib/ogg/oggpage.h index 4a68651e..ab199161 100644 --- a/taglib/ogg/oggpage.h +++ b/taglib/ogg/oggpage.h @@ -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; diff --git a/taglib/ogg/oggpageheader.h b/taglib/ogg/oggpageheader.h index 91af3e75..c3b24c10 100644 --- a/taglib/ogg/oggpageheader.h +++ b/taglib/ogg/oggpageheader.h @@ -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; diff --git a/taglib/ogg/opus/opusfile.h b/taglib/ogg/opus/opusfile.h index 77686556..5b311dda 100644 --- a/taglib/ogg/opus/opusfile.h +++ b/taglib/ogg/opus/opusfile.h @@ -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); diff --git a/taglib/ogg/opus/opusproperties.h b/taglib/ogg/opus/opusproperties.h index 88485b65..5a8e8300 100644 --- a/taglib/ogg/opus/opusproperties.h +++ b/taglib/ogg/opus/opusproperties.h @@ -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); diff --git a/taglib/ogg/speex/speexfile.h b/taglib/ogg/speex/speexfile.h index 70f86097..db822990 100644 --- a/taglib/ogg/speex/speexfile.h +++ b/taglib/ogg/speex/speexfile.h @@ -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); diff --git a/taglib/ogg/speex/speexproperties.h b/taglib/ogg/speex/speexproperties.h index 4a210839..8de29d88 100644 --- a/taglib/ogg/speex/speexproperties.h +++ b/taglib/ogg/speex/speexproperties.h @@ -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); diff --git a/taglib/ogg/vorbis/vorbisfile.h b/taglib/ogg/vorbis/vorbisfile.h index d3426290..d61eb452 100644 --- a/taglib/ogg/vorbis/vorbisfile.h +++ b/taglib/ogg/vorbis/vorbisfile.h @@ -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); diff --git a/taglib/ogg/vorbis/vorbisproperties.h b/taglib/ogg/vorbis/vorbisproperties.h index 9e85bbc9..0bbf5c30 100644 --- a/taglib/ogg/vorbis/vorbisproperties.h +++ b/taglib/ogg/vorbis/vorbisproperties.h @@ -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); diff --git a/taglib/ogg/xiphcomment.h b/taglib/ogg/xiphcomment.h index 82e05b84..78ce8697 100644 --- a/taglib/ogg/xiphcomment.h +++ b/taglib/ogg/xiphcomment.h @@ -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; diff --git a/taglib/riff/aiff/aifffile.h b/taglib/riff/aiff/aifffile.h index b8f76182..d5748a30 100644 --- a/taglib/riff/aiff/aifffile.h +++ b/taglib/riff/aiff/aifffile.h @@ -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); diff --git a/taglib/riff/aiff/aiffproperties.h b/taglib/riff/aiff/aiffproperties.h index 36774d0c..2592ca96 100644 --- a/taglib/riff/aiff/aiffproperties.h +++ b/taglib/riff/aiff/aiffproperties.h @@ -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); diff --git a/taglib/riff/rifffile.h b/taglib/riff/rifffile.h index 9adbca0f..b2020277 100644 --- a/taglib/riff/rifffile.h +++ b/taglib/riff/rifffile.h @@ -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, diff --git a/taglib/riff/wav/infotag.h b/taglib/riff/wav/infotag.h index 86317dd8..e6265a24 100644 --- a/taglib/riff/wav/infotag.h +++ b/taglib/riff/wav/infotag.h @@ -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; diff --git a/taglib/riff/wav/wavfile.h b/taglib/riff/wav/wavfile.h index 6882d191..768b0d4a 100644 --- a/taglib/riff/wav/wavfile.h +++ b/taglib/riff/wav/wavfile.h @@ -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); diff --git a/taglib/riff/wav/wavproperties.h b/taglib/riff/wav/wavproperties.h index 339f8899..208f6138 100644 --- a/taglib/riff/wav/wavproperties.h +++ b/taglib/riff/wav/wavproperties.h @@ -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); diff --git a/taglib/s3m/s3mfile.h b/taglib/s3m/s3mfile.h index c497a44d..e5858ca7 100644 --- a/taglib/s3m/s3mfile.h +++ b/taglib/s3m/s3mfile.h @@ -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); diff --git a/taglib/s3m/s3mproperties.h b/taglib/s3m/s3mproperties.h index ade221ea..9136cced 100644 --- a/taglib/s3m/s3mproperties.h +++ b/taglib/s3m/s3mproperties.h @@ -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; diff --git a/taglib/tag.h b/taglib/tag.h index 1c3ab06d..132c053b 100644 --- a/taglib/tag.h +++ b/taglib/tag.h @@ -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; diff --git a/taglib/toolkit/tdebuglistener.h b/taglib/toolkit/tdebuglistener.h index e4e42797..a68a4dc7 100644 --- a/taglib/toolkit/tdebuglistener.h +++ b/taglib/toolkit/tdebuglistener.h @@ -54,8 +54,8 @@ namespace TagLib private: // Noncopyable - DebugListener(const DebugListener &); - DebugListener &operator=(const DebugListener &); + DebugListener(const DebugListener &) = delete; + DebugListener &operator=(const DebugListener &) = delete; }; /*! diff --git a/taglib/toolkit/tfile.h b/taglib/toolkit/tfile.h index bbad5fcc..2c44f335 100644 --- a/taglib/toolkit/tfile.h +++ b/taglib/toolkit/tfile.h @@ -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; diff --git a/taglib/toolkit/tiostream.h b/taglib/toolkit/tiostream.h index d47e57a9..13aa93fe 100644 --- a/taglib/toolkit/tiostream.h +++ b/taglib/toolkit/tiostream.h @@ -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 diff --git a/taglib/trueaudio/trueaudiofile.h b/taglib/trueaudio/trueaudiofile.h index b02f8457..ab1956e6 100644 --- a/taglib/trueaudio/trueaudiofile.h +++ b/taglib/trueaudio/trueaudiofile.h @@ -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); diff --git a/taglib/trueaudio/trueaudioproperties.h b/taglib/trueaudio/trueaudioproperties.h index ccb959f2..633c1017 100644 --- a/taglib/trueaudio/trueaudioproperties.h +++ b/taglib/trueaudio/trueaudioproperties.h @@ -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); diff --git a/taglib/wavpack/wavpackfile.h b/taglib/wavpack/wavpackfile.h index a1c87e97..73216515 100644 --- a/taglib/wavpack/wavpackfile.h +++ b/taglib/wavpack/wavpackfile.h @@ -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); diff --git a/taglib/wavpack/wavpackproperties.h b/taglib/wavpack/wavpackproperties.h index c518803e..952988e1 100644 --- a/taglib/wavpack/wavpackproperties.h +++ b/taglib/wavpack/wavpackproperties.h @@ -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); diff --git a/taglib/xm/xmfile.h b/taglib/xm/xmfile.h index d8cab22b..9e64acef 100644 --- a/taglib/xm/xmfile.h +++ b/taglib/xm/xmfile.h @@ -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); diff --git a/taglib/xm/xmproperties.h b/taglib/xm/xmproperties.h index 3308f065..1c7e0f60 100644 --- a/taglib/xm/xmproperties.h +++ b/taglib/xm/xmproperties.h @@ -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;