clang-tidy: Use nullptr instead of 0

run-clang-tidy -header-filter='.*' -checks='-*,modernize-use-nullptr' -fix
This commit is contained in:
Urs Fleisch
2023-07-15 16:14:18 +02:00
parent 9867bc947e
commit abc6c31890
54 changed files with 156 additions and 156 deletions

View File

@ -34,8 +34,8 @@ using namespace TagLib;
class PlainFile : public File {
public:
explicit PlainFile(FileName name) : File(name) { }
Tag *tag() const override { return NULL; }
AudioProperties *audioProperties() const override { return NULL; }
Tag *tag() const override { return nullptr; }
AudioProperties *audioProperties() const override { return nullptr; }
bool save() override { return false; }
void truncate(long length) { File::truncate(length); }