summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Xavier Ducrohet <xav@google.com> 2011-06-28 18:53:51 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-06-28 18:53:51 -0700
commit73b607f9ce5c91fed6709495c31a5a7878732205 (patch)
treed3ab7b42eae95f1b0ea7b186adf4a1def484babf
parent9e95be6c9d76ad66b123bac849d65d74abb7e6b7 (diff)
parent10779f5a6cd6ee23a9e0ff82eb6d60e2b99e5d80 (diff)
am 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
* commit '54146a634e0e66a5e4732ba1a80079a1e93bdd8a': DO NOT MERGE. may fix build on some version of gcc
-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: