From: Andreas Sandberg Date: Wed, 15 Mar 2017 14:36:37 +0000 (+0000) Subject: arm, dev: Add missing override in the Pl390 GIC model X-Git-Tag: v19.0.0.0~2903 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=083cd6da788ce3d89a959aa2a847a622e0385afa;p=gem5.git 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 --- diff --git a/src/dev/arm/gic_pl390.hh b/src/dev/arm/gic_pl390.hh index 664705837..1a5248d92 100644 --- a/src/dev/arm/gic_pl390.hh +++ b/src/dev/arm/gic_pl390.hh @@ -360,7 +360,7 @@ class Pl390 : public BaseGic void unserialize(CheckpointIn &cp) override; public: /* PioDevice */ - AddrRangeList getAddrRanges() const { return addrRanges; } + AddrRangeList getAddrRanges() const override { return addrRanges; } /** A PIO read to the device, immediately split up into * readDistributor() or readCpu()