Bug 1310547 - LinkedList compiler fixes
☠☠ backed out by ebd1c1823d61 ☠ ☠
authorBill McCloskey <billm@mozilla.com>
Fri, 28 Oct 2016 20:53:53 -0700
changeset 431346 b15d4e773bdd7005280e572a02112f838e5230a9
parent 431345 d6f081b175ca15fac645dc66fcde9cdbf324a423
child 431347 a171aae3ae491dd52e184735c51924c7a467a0bf
push id34030
push userbmo:mh+mozilla@glandium.org
push dateSat, 29 Oct 2016 05:59:11 +0000
bugs1310547
milestone52.0a1
Bug 1310547 - LinkedList compiler fixes
mfbt/LinkedList.h
--- a/mfbt/LinkedList.h
+++ b/mfbt/LinkedList.h
@@ -290,17 +290,17 @@ public:
   bool isInList() const
   {
     MOZ_ASSERT((mNext == this) == (mPrev == this));
     return mNext != this;
   }
 
 private:
   friend class LinkedList<T>;
-  friend class detail::LinkedListElementTraits<T>;
+  friend struct detail::LinkedListElementTraits<T>;
 
   enum class NodeKind {
     Normal,
     Sentinel
   };
 
   explicit LinkedListElement(NodeKind nodeKind)
     : mNext(this),