File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ namespace Diligent
4343{
4444
4545// This class controls the lifetime of a refcounted object
46- class RefCountersImpl final : public IReferenceCounters
46+ class RefCountersImpl : public IReferenceCounters
4747{
4848public:
4949 inline virtual ReferenceCounterValueType AddStrongRef () override final
@@ -448,12 +448,12 @@ class RefCountersImpl final : public IReferenceCounters
448448 }
449449 }
450450
451- void SelfDestroy ()
451+ virtual void SelfDestroy ()
452452 {
453453 delete this ;
454454 }
455455
456- ~RefCountersImpl ()
456+ virtual ~RefCountersImpl ()
457457 {
458458 VERIFY (m_NumStrongReferences.load () == 0 && m_NumWeakReferences.load () == 0 ,
459459 " There exist outstanding references to the object being destroyed" );
You can’t perform that action at this time.
0 commit comments