mem-cache: Fix non-virtual base destructor of Repl Entry
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 3 Aug 2019 10:04:14 +0000 (12:04 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 7 Aug 2019 06:49:57 +0000 (06:49 +0000)
commite33b3aa6692b172f6db5957774a9e0289e81fa5b
tree59a64933b78689ecd8e27552ab8852f3bbebc050
parent598f704d51ddfc7c1abd0afdbb99e4cbafbe8813
mem-cache: Fix non-virtual base destructor of Repl Entry

ReplaceableEntry contains a virtual method, yet its destructor
was not virtual, causing errors in some compilers.

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