Bug 935809 - Part 0: Include assertion header in DoublyLinkedList.h. r=waldo
☠☠ backed out by 5164c446bb50 ☠ ☠
authorEric Rahm <erahm@mozilla.com>
Tue, 02 May 2017 14:21:52 -0700
changeset 356137 ab81a462fcd4af84605754825b898b4b32e55fbb
parent 356136 08735c334ad1553153d7126327257376d29833c7
child 356138 8cbc5f3bf0657d41b3f5496cf42f9f014f1a0c25
push id31757
push usercbook@mozilla.com
push dateWed, 03 May 2017 08:11:42 +0000
treeherdermozilla-central@82c2d17e74ef [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