diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-15 14:36:37 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-15 14:41:40 +0000 |
commit | 083cd6da788ce3d89a959aa2a847a622e0385afa (patch) | |
tree | cb44dc31a5ee9cda67797f23aef5cd9416ed2388 /src/dev | |
parent | 3e200455bd9c9360812d4f6eeef7bf60b70ea213 (diff) | |
download | gem5-083cd6da788ce3d89a959aa2a847a622e0385afa.tar.xz |
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>
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/arm/gic_pl390.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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() |