Commit be2320bf authored by Mark Williams's avatar Mark Williams Committed by Facebook Github Bot

Friend a class, rather than its destructor

Summary: There are no other methods, and icc gets confused otherwise

Reviewed By: yfeldblum

Differential Revision: D10116562

fbshipit-source-id: 7664501b910e5857e32337d3583dcc948caddd5d
parent 94247d4c
...@@ -81,7 +81,7 @@ class DestructorCheck { ...@@ -81,7 +81,7 @@ class DestructorCheck {
// previous node. // previous node.
Safety* next_{nullptr}; Safety* next_{nullptr};
friend DestructorCheck::~DestructorCheck(); friend class DestructorCheck;
friend class Safety; friend class Safety;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment