* commit 'bb93dad9250c0ee8330ab37bbdcd2eb8bfc0f930': libutils: Fix an improper const-cast in RefBase
This commit is contained in:
@@ -524,7 +524,7 @@ void RefBase::weakref_type::printRefs() const
|
|||||||
|
|
||||||
void RefBase::weakref_type::trackMe(bool enable, bool retain)
|
void RefBase::weakref_type::trackMe(bool enable, bool retain)
|
||||||
{
|
{
|
||||||
static_cast<const weakref_impl*>(this)->trackMe(enable, retain);
|
static_cast<weakref_impl*>(this)->trackMe(enable, retain);
|
||||||
}
|
}
|
||||||
|
|
||||||
RefBase::weakref_type* RefBase::createWeak(const void* id) const
|
RefBase::weakref_type* RefBase::createWeak(const void* id) const
|
||||||
|
|||||||
Reference in New Issue
Block a user