mirror of
https://github.com/taglib/taglib.git
synced 2026-07-13 14:51:05 -04:00
clang-tidy: Delete unimplemented private constructors
run-clang-tidy -header-filter='.*' -checks='-*,modernize-use-equals-delete' -fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user