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

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