mem-cache: Assert Entry inherits from QueueEntry in Queue
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 24 Jan 2019 14:13:07 +0000 (15:13 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 19 Apr 2019 16:34:00 +0000 (16:34 +0000)
commitf699e91fe53870b6a7f0e9fe61cc92fc44b1033b
tree1c90f19dcb7b40350d3d6fe247d75f3f1d3ae856
parent5fabb992ffa9cbde09105ec21c45e8cff282949e
mem-cache: Assert Entry inherits from QueueEntry in Queue

Queue has several assumptions regarding its template parameter,
so make sure they are fulfilled by forcing Entry to be derived
from QueueEntry.

Change-Id: I0203a62aec00c04ac89e9674d86a44a07f9f13ab
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17529
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/queue.hh