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

@ -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);