summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-06-14 11:50:22 -0700
committer Mathias Agopian <mathias@google.com> 2011-06-14 11:50:22 -0700
commitf1df0407c6c399cdc9e222efe2d50176d7853100 (patch)
treea134fb5b75f7d3fb0a742082d4d748cc30a8f879
parent2714abff5cc50b1487c0979c99cc685f5ea113b1 (diff)
may fix build on some version of gcc
Change-Id: Ia88787c0432ec84d51fe505fd6a2b6f98ebe8f33
-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 f8c3216b4618..ca170827f1b2 100644
--- a/include/utils/RefBase.h
+++ b/include/utils/RefBase.h
@@ -119,6 +119,7 @@ public:
// used to override the RefBase destruction.
class Destroyer {
friend class RefBase;
+ friend class weakref_type;
public:
virtual ~Destroyer();
private: