Skip to content

Commit d43146d

Browse files
committed
mark RefCountersAllocationImpl as final
1 parent ac79c85 commit d43146d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/interface/RefCountedObjectImpl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ class RefCountersImpl : public IReferenceCounters
492492
std::atomic<ObjectState> m_ObjectState{ObjectState::NotInitialized};
493493
};
494494

495-
class RefCountersAllocationImpl : public RefCountersImpl
495+
class RefCountersAllocationImpl final : public RefCountersImpl
496496
{
497497
private:
498498
template <typename AllocatorType, typename ObjectType>
@@ -502,7 +502,7 @@ class RefCountersAllocationImpl : public RefCountersImpl
502502
{
503503
}
504504

505-
void SelfDestroy() override
505+
void SelfDestroy() override final
506506
{
507507
delete this;
508508
}

0 commit comments

Comments
 (0)