diff options
Diffstat (limited to 'base/ref_counted_unittest.cc')
-rw-r--r-- | base/ref_counted_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/ref_counted_unittest.cc b/base/ref_counted_unittest.cc index ba392d6..f2739fce 100644 --- a/base/ref_counted_unittest.cc +++ b/base/ref_counted_unittest.cc @@ -8,6 +8,9 @@ namespace { class SelfAssign : public base::RefCounted<SelfAssign> { + friend class base::RefCounted<SelfAssign>; + + ~SelfAssign() {} }; class CheckDerivedMemberAccess : public scoped_refptr<SelfAssign> { |