summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2013-02-22 05:51:40 -0800
committerJean-Baptiste Queru <jbq@google.com>2013-03-01 10:03:35 -0800
commit9b19b93a5b0018414784cfdc070b462ea65451d8 (patch)
treed1d211ba38c27f1b8e69d8f9222f321f60fc1b6f
parent66afbdef8e3f21fe783af83c4155352b137c98f3 (diff)
downloadbase-gingerbread.tar.gz
Tweak RefBase to build with 12.04 host gccgingerbread
Change-Id: I017a12ef379e93093ff5ff4aafab557b3632cd9f
-rw-r--r--libs/utils/RefBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/RefBase.cpp b/libs/utils/RefBase.cpp
index 47ef546dfb54..545da7d39b9a 100644
--- a/libs/utils/RefBase.cpp
+++ b/libs/utils/RefBase.cpp
@@ -504,7 +504,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