Bug 935809 - Part 0: Include assertion header in DoublyLinkedList.h. r=waldo
authorEric Rahm <erahm@mozilla.com>
Wed, 03 May 2017 19:22:39 -0700
changeset 404546 888d0aea70031d45f9219713258e099b3d8effd9
parent 404545 dda520b4ed3292bc3575aacffc0b2d3873ce814e
child 404547 16af5e6c15a6c642b920c385de5b0e91faddfc80
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