Bug 935809 - Part 0: Include assertion header in DoublyLinkedList.h. r=waldo
☠☠ backed out by 52be37a54d86 ☠ ☠
authorEric Rahm <erahm@mozilla.com>
Wed, 26 Apr 2017 12:19:54 -0700
changeset 403225 4176ccbd49708e80e429d3dceaac0cdb77e33b47
parent 403224 029cbd7f6e4382bfa57176cfa2c9725f8be92993
child 403226 f53c07293e1f50bccf4428f66af938b59468098a
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswaldo
bugs935809
milestone55.0a1
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
Bug 935809 - Part 0: Include assertion header in DoublyLinkedList.h. r=waldo MozReview-Commit-ID: 4G37uslYlOb
mfbt/DoublyLinkedList.h
--- a/mfbt/DoublyLinkedList.h
+++ b/mfbt/DoublyLinkedList.h
@@ -7,16 +7,18 @@
 /** A doubly-linked list with flexible next/prev naming. */
 
 #ifndef mozilla_DoublyLinkedList_h
 #define mozilla_DoublyLinkedList_h
 
 #include <algorithm>
 #include <iterator>
 
+#include "mozilla/Assertions.h"
+
 /**
  * Where mozilla::LinkedList strives for ease of use above all other
  * considerations, mozilla::DoublyLinkedList strives for flexibility. The
  * following are things that can be done with mozilla::DoublyLinkedList that
  * cannot be done with mozilla::LinkedList:
  *
  *   * Arbitrary next/prev placement and naming. With the tools provided here,
  *     the next and previous pointers can be at the end of the structure, in a