Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ec8804b authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "libutils: Fix an improper const-cast in RefBase" into gingerbread

parents 6a288c0f 7de8ddfa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ void RefBase::weakref_type::printRefs() const

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