mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
clang-tidy: modernize-use-nullptr (NFC)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user