summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@google.com>2011-06-28 18:52:43 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-28 18:52:43 -0700
commit54146a634e0e66a5e4732ba1a80079a1e93bdd8a (patch)
tree05746b8db5d211a03ce519842e946a0a80d47035
parent2f9ad8b499cb150d5cdfe84a9795992c5dd42cff (diff)
parentec15afca08fcc342d6f22cf02a21975af13091cf (diff)
downloadbase-54146a634e0e66a5e4732ba1a80079a1e93bdd8a.tar.gz
Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
-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 d92cfb03d718..0af7e6a0f496 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: