base: Fix missing headers to CircularQueue
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 31 May 2019 16:39:21 +0000 (18:39 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 4 Jun 2019 22:28:54 +0000 (22:28 +0000)
commit0c0cf48e3082ba41005b5d0f56d377e432b9283e
treebbf0ef0dab937624847be5f63e505e590bd07a2d
parentcc6eff061c1b489c1a5f98d7fe5222837678ed2c
base: Fix missing headers to CircularQueue

CircularQueue is currently throwing compilation errors when creating
a derived class.

assert() needs <cassert>
ptrdiff_t needs <cstddef>
(u)intX_t need <cstdint>
random_access_iterator_tag needs <iterator>
is_same, enable_if and others need <type_traits>

Change-Id: I77a78e7b13f7a8b8e7e8b2b872065d78d1ab815a
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19089
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/circular_queue.hh