Backed out changeset b49bd726c8a6 (bug 1359653)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sat, 06 May 2017 11:02:32 +0200
changeset 407420 3bd8afb673efe0c4fef4c0197f51063f94e39df0
parent 407419 acad0b815fbe369cd2d40bbad04a99d673bbf46c
child 407421 bdc7025503ce5c8c303c27ddcb84610ba5a84eb3
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1359653
milestone55.0a1
backs outb49bd726c8a6e955c672df17b2b9134ab3ad34d5
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset b49bd726c8a6 (bug 1359653)
mfbt/LinkedList.h
--- a/mfbt/LinkedList.h
+++ b/mfbt/LinkedList.h
@@ -643,27 +643,16 @@ private:
 };
 
 template <typename T>
 class AutoCleanLinkedList : public LinkedList<T>
 {
 public:
   ~AutoCleanLinkedList()
   {
-    clear();
-  }
-
-  AutoCleanLinkedList& operator=(AutoCleanLinkedList&& aOther)
-  {
-    LinkedList<T>::operator=(Forward<LinkedList<T>>(aOther));
-    return *this;
-  }
-
-  void clear()
-  {
     while (T* element = this->popFirst()) {
       delete element;
     }
   }
 };
 
 } /* namespace mozilla */