summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-06-14 11:50:22 -0700
committer Dianne Hackborn <hackbod@google.com> 2011-06-14 12:05:42 -0700
commit69b4587bfbb3e98f793959d9123340360fa233a2 (patch)
tree2682adec63c6a4dbb58f22395c16cb5ba9600c3b /include/utils
parent700a1f25719138b94c453beb6325e627a11a9883 (diff)
DO NOT MERGE. may fix build on some version of gcc
Change-Id: Iff6d9ab3a7caf58f65fc3f60633a3bd577b7af25
Diffstat (limited to 'include/utils')
-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 4a418301bf8e..c0be59757011 100644
--- a/include/utils/RefBase.h
+++ b/include/utils/RefBase.h
@@ -120,6 +120,7 @@ public:
// used to override the RefBase destruction.
class Destroyer {
friend class RefBase;
+ friend class weakref_type;
public:
virtual ~Destroyer();
private: