From 083cd6da788ce3d89a959aa2a847a622e0385afa Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Wed, 15 Mar 2017 14:36:37 +0000 Subject: [PATCH] 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 --- src/dev/arm/gic_pl390.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()