diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-10-23 09:51:11 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-10-23 09:51:11 -0400 |
commit | fa32ad4941a80c85513b57a2fa43acb84212e5df (patch) | |
tree | 49ac00fefeb0ab365f9967da75820ba3cfeb44bf /src/dev/arm/rtc_pl031.hh | |
parent | 2a1f49fae6f4399d976a551a1715709faf1b19da (diff) | |
download | gem5-fa32ad4941a80c85513b57a2fa43acb84212e5df.tar.xz |
arm: Add missing explicit overrides for ARM devices
Make clang >= 3.5 happy when compiling build/ARM/gem5.opt on OSX.
Diffstat (limited to 'src/dev/arm/rtc_pl031.hh')
-rw-r--r-- | src/dev/arm/rtc_pl031.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/arm/rtc_pl031.hh b/src/dev/arm/rtc_pl031.hh index 8c8fa1538..d3f1295dd 100644 --- a/src/dev/arm/rtc_pl031.hh +++ b/src/dev/arm/rtc_pl031.hh @@ -116,14 +116,14 @@ class PL031 : public AmbaIntDevice * @param pkt The memory request. * @param data Where to put the data. */ - virtual Tick read(PacketPtr pkt); + Tick read(PacketPtr pkt) override; /** * Handle writes to the device * @param pkt The memory request. * @param data the data */ - virtual Tick write(PacketPtr pkt); + Tick write(PacketPtr pkt) override; void serialize(CheckpointOut &cp) const override; void unserialize(CheckpointIn &cp) override; |