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

This commit is contained in:
Kenny Root 2011-04-26 11:26:33 -07:00 committed by Android Code Review
commit c364113a1b

View File

@ -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