summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-06-14 11:50:22 -0700
committer Xavier Ducrohet <xav@android.com> 2011-06-16 18:26:14 -0700
commit66ff46b366eb4df531d0a25104d7cea3b28bbcc4 (patch)
treeaf0a34a532311fbd20969741e2511ab16570cd2d
parentfad4d64a422cfa9d9d7261e452a99d27f7463985 (diff)
DO NOT MERGE. may fix build on some version of gcc
Change-Id: Id99d390862731fd3fbc009dbffdf1d2a59dbe348
-rw-r--r--include/utils/RefBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/RefBase.h b/include/utils/RefBase.h
index d92cfb03d7..0af7e6a0f4 100644
--- a/include/utils/RefBase.h
+++ b/include/utils/RefBase.h
@@ -115,6 +115,7 @@ public:
// used to override the RefBase destruction.
class Destroyer {
friend class RefBase;
+ friend class weakref_type;
public:
virtual ~Destroyer();
private: