From: Bobby R. Bruce Date: Sat, 14 Nov 2020 04:12:32 +0000 (-0800) Subject: arch-gcn3, misc: Added missing override to protocol_tester.hh X-Git-Tag: develop-gem5-snapshot~455 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95a8cf76a5e14fff3039cdd20bc76e8d1f81f833;p=gem5.git arch-gcn3, misc: Added missing override to protocol_tester.hh Clang will return a missing-override error when compiling X86_GCN4 without this change. Change-Id: Ib5fd9ba5c27ddc15561198bfc90d27b7599a7923 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37537 Reviewed-by: Hoa Nguyen Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/cpu/testers/gpu_ruby_test/protocol_tester.hh b/src/cpu/testers/gpu_ruby_test/protocol_tester.hh index 6109e5add..1d01fd24a 100644 --- a/src/cpu/testers/gpu_ruby_test/protocol_tester.hh +++ b/src/cpu/testers/gpu_ruby_test/protocol_tester.hh @@ -117,7 +117,7 @@ class ProtocolTester : public ClockedObject typedef AddressManager::Location Location; typedef AddressManager::Value Value; - void init(); + void init() override; RequestorID requestorId() { return _requestorId; }; Port& getPort(const std::string &if_name, PortID idx=InvalidPortID) override;