summaryrefslogtreecommitdiff
path: root/util/maint
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-11-28 08:16:33 +0000
committerNikos Nikoleris <nikos.nikoleris@arm.com>2018-12-04 10:02:29 +0000
commit7f2d7fe4ef622d861e55517279f193cdf8acfc99 (patch)
tree45c8c30781ac1c9d0e4ff39b9317bd1282bc4764 /util/maint
parent22ce855108cb8a1ebadbd28448b623c470f86d5c (diff)
downloadgem5-7f2d7fe4ef622d861e55517279f193cdf8acfc99.tar.xz
base, sim: Add missing destructors
Derived classes with virtual functions need to define a virtual destructor or a protected destructor otherwise calling the base class destructor has undefined behavior. This change adds a virtual distructor in the base class. Change-Id: I1c855aa56dff6585ff99b9147bdb4eb9729a0a53 Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/14815 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'util/maint')
0 files changed, 0 insertions, 0 deletions