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:
parent
3e200455bd
commit
083cd6da78
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue