arch-gcn3, misc: Added missing override to protocol_tester.hh
authorBobby R. Bruce <bbruce@ucdavis.edu>
Sat, 14 Nov 2020 04:12:32 +0000 (20:12 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 17 Nov 2020 22:46:40 +0000 (22:46 +0000)
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 <hoanguyen@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/testers/gpu_ruby_test/protocol_tester.hh

index 6109e5addee988928d8e87c4690296c770bb8d52..1d01fd24a96b3da293e5f3bc64bac5f0769dbd4b 100644 (file)
@@ -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;