summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorAndrea Mondelli <Andrea.Mondelli@ucf.edu>2019-02-04 15:21:40 -0500
committerAndrea Mondelli <Andrea.Mondelli@ucf.edu>2019-02-05 23:27:57 +0000
commit1989ce99056885a46fd12c9c9e4c4fbd1045718e (patch)
tree955bdc3e771fd10c4a33d7662f4887b021d065bb /src/arch/riscv
parent02d2d7b1e0fcbdc96012c31a9be0ae2a187d4d44 (diff)
downloadgem5-1989ce99056885a46fd12c9c9e4c4fbd1045718e.tar.xz
misc: added missing override specifier
Added missing specifier for various virtual functions. Change-Id: I4783e92d78789a9ae182fad79aadceafb00b2458 Reviewed-on: https://gem5-review.googlesource.com/c/16103 Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/interrupts.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/interrupts.hh b/src/arch/riscv/interrupts.hh
index 912bf45ca..406fe4ffa 100644
--- a/src/arch/riscv/interrupts.hh
+++ b/src/arch/riscv/interrupts.hh
@@ -131,7 +131,7 @@ class Interrupts : public SimObject
void setIE(const uint64_t& val) { ie = val; }
void
- serialize(CheckpointOut &cp)
+ serialize(CheckpointOut &cp) const
{
SERIALIZE_SCALAR(ip.to_ulong());
SERIALIZE_SCALAR(ie.to_ulong());