Fix clang-tidy readability-static-accessed-through-instance warnings

Detected by clang-tidy-19
This commit is contained in:
Eduardo Almeida
2024-10-30 20:16:03 +00:00
parent d24b08391e
commit 5d40873e2b
25 changed files with 135 additions and 122 deletions

View File

@@ -453,7 +453,7 @@ StaticInformation::DoGather(TypeId tid)
// See if this is a pointer to an Object.
Ptr<Object> object = CreateObject<Object>();
TypeId objectTypeId = object->GetTypeId();
TypeId objectTypeId = Object::GetTypeId();
if (objectTypeId == pointee)
{
// Stop the recursion at this attribute if it is a