clang-tidy: add explicit deleted constructors
Found with cppcoreguidelines-special-member-functions Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -80,6 +80,9 @@ public:
|
||||
DeinitVorbis();
|
||||
}
|
||||
|
||||
VorbisDecoder(const VorbisDecoder &) = delete;
|
||||
VorbisDecoder &operator=(const VorbisDecoder &) = delete;
|
||||
|
||||
bool Seek(uint64_t where_frame);
|
||||
|
||||
static AudioFormat CheckAudioFormat(const vorbis_info &vi) {
|
||||
|
Reference in New Issue
Block a user