arm, dev: Add missing override in the Pl390 GIC model

The Pl390::getAddrRanges() method should have been flagged using the
override keyword. Other methods in this class already use the override
keyword, so this results in a warning about inconsistent override
usage when compiling using clang.

Change-Id: I17449687a8e074262232562487b58c96466bd54e
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Andreas Sandberg 2017-03-15 14:36:37 +00:00
parent 3e200455bd
commit 083cd6da78

View file

@ -360,7 +360,7 @@ class Pl390 : public BaseGic
void unserialize(CheckpointIn &cp) override; void unserialize(CheckpointIn &cp) override;
public: /* PioDevice */ public: /* PioDevice */
AddrRangeList getAddrRanges() const { return addrRanges; } AddrRangeList getAddrRanges() const override { return addrRanges; }
/** A PIO read to the device, immediately split up into /** A PIO read to the device, immediately split up into
* readDistributor() or readCpu() * readDistributor() or readCpu()