We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6414a66 commit 7f79a92Copy full SHA for 7f79a92
1 file changed
Common/interface/RefCountedObjectImpl.hpp
@@ -43,7 +43,7 @@ namespace Diligent
43
{
44
45
// This class controls the lifetime of a refcounted object
46
-class RefCountersImpl final : public IReferenceCounters
+class RefCountersImpl : public IReferenceCounters
47
48
public:
49
inline virtual ReferenceCounterValueType AddStrongRef() override final
@@ -448,12 +448,12 @@ class RefCountersImpl final : public IReferenceCounters
448
}
449
450
451
- void SelfDestroy()
+ virtual void SelfDestroy()
452
453
delete this;
454
455
456
- ~RefCountersImpl()
+ virtual ~RefCountersImpl()
457
458
VERIFY(m_NumStrongReferences.load() == 0 && m_NumWeakReferences.load() == 0,
459
"There exist outstanding references to the object being destroyed");
0 commit comments