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:
@@ -83,6 +83,9 @@ public:
|
||||
~AllocatedProxySong() {
|
||||
mpd_song_free(song);
|
||||
}
|
||||
|
||||
AllocatedProxySong(const AllocatedProxySong &) = delete;
|
||||
AllocatedProxySong &operator=(const AllocatedProxySong &) = delete;
|
||||
};
|
||||
|
||||
class ProxyDatabase final : public Database {
|
||||
|
Reference in New Issue
Block a user