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