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-22 07:09:58 +02:00
parent 77ab5e9689
commit 231772b2ad
72 changed files with 148 additions and 148 deletions
+2 -2
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);
+2 -2
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);