clang-tidy: modernize-use-nullptr (NFC)

This commit is contained in:
Peter Johnson
2020-12-28 10:52:52 -08:00
parent aee4603269
commit 32fa97d68d
10 changed files with 23 additions and 23 deletions

View File

@@ -266,7 +266,7 @@ class Texture {
m_format{oth.m_format},
m_width{oth.m_width},
m_height{oth.m_height} {
oth.m_texture = 0;
oth.m_texture = 0; // NOLINT
}
Texture& operator=(const Texture&) = delete;
@@ -275,7 +275,7 @@ class Texture {
DeleteTexture(m_texture);
}
m_texture = oth.m_texture;
oth.m_texture = 0;
oth.m_texture = 0; // NOLINT
m_format = oth.m_format;
m_width = oth.m_width;
m_height = oth.m_height;