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

Commit b5e7f051 authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

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

* commit '13ce221e4316f7956ba072e774a7b97646e5d99b':
  libutils: Fix an improper const-cast in RefBase
parents a89e2518 c364113a
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