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/kmi.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/kmi.hh')
-rw-r--r-- | src/dev/arm/kmi.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/arm/kmi.hh b/src/dev/arm/kmi.hh index e5c58f7d7..a321caf63 100644 --- a/src/dev/arm/kmi.hh +++ b/src/dev/arm/kmi.hh @@ -151,11 +151,11 @@ class Pl050 : public AmbaIntDevice, public VncKeyboard, public VncMouse Pl050(const Params *p); - virtual Tick read(PacketPtr pkt); - virtual Tick write(PacketPtr pkt); + Tick read(PacketPtr pkt) override; + Tick write(PacketPtr pkt) override; - virtual void mouseAt(uint16_t x, uint16_t y, uint8_t buttons); - virtual void keyPress(uint32_t key, bool down); + void mouseAt(uint16_t x, uint16_t y, uint8_t buttons) override; + void keyPress(uint32_t key, bool down) override; void serialize(CheckpointOut &cp) const override; void unserialize(CheckpointIn &cp) override; |