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

Commit c364113a authored by Kenny Root's avatar Kenny Root Committed by Android Code Review
Browse files

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

parents 26603203 e6b21626
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