summaryrefslogtreecommitdiff
path: root/src/dev/arm/rtc_pl031.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-10-23 09:51:11 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-10-23 09:51:11 -0400
commitfa32ad4941a80c85513b57a2fa43acb84212e5df (patch)
tree49ac00fefeb0ab365f9967da75820ba3cfeb44bf /src/dev/arm/rtc_pl031.hh
parent2a1f49fae6f4399d976a551a1715709faf1b19da (diff)
downloadgem5-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.hh4
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;