summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-06-14 11:50:22 -0700
committerAlex Ray <aray@google.com>2013-07-30 13:56:57 -0700
commit0151ac8945216bb6c7ae23b6a7e449e5ede8a69c (patch)
treeec1160244d799eab869ab7f65aabe26943df4ef2 /include
parent47f48572db6a5b4b1b890f93f07ff2bd7c7dc95c (diff)
downloadsystem_core-0151ac8945216bb6c7ae23b6a7e449e5ede8a69c.zip
system_core-0151ac8945216bb6c7ae23b6a7e449e5ede8a69c.tar.gz
system_core-0151ac8945216bb6c7ae23b6a7e449e5ede8a69c.tar.bz2
may fix build on some version of gcc
Change-Id: Ia88787c0432ec84d51fe505fd6a2b6f98ebe8f33
Diffstat (limited to 'include')
-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 f8c3216..ca17082 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: