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

* commit 'bb93dad9250c0ee8330ab37bbdcd2eb8bfc0f930':
  libutils: Fix an improper const-cast in RefBase
This commit is contained in:
Kenny Root
2011-04-26 11:45:46 -07:00
committed by Android Git Automerger

View File

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