From d297da3654d990cd9b0083ec003835f90c160db7 Mon Sep 17 00:00:00 2001 From: Melissa Jost Date: Thu, 21 Sep 2023 10:11:39 -0700 Subject: [PATCH] cpu: Add override to TraceCPU init function This introduces a fix that caused the clang compiler tests to fail here: https://github.com/gem5/gem5/actions/runs/6195015407 Change-Id: I48c61539f497976c038c6e8e379d00285e1c39c7 --- src/cpu/trace/trace_cpu.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/trace/trace_cpu.hh b/src/cpu/trace/trace_cpu.hh index d54b3c4227..3633ed332f 100644 --- a/src/cpu/trace/trace_cpu.hh +++ b/src/cpu/trace/trace_cpu.hh @@ -147,7 +147,7 @@ class TraceCPU : public ClockedObject public: TraceCPU(const TraceCPUParams ¶ms); - void init(); + void init() override; /** * Return totalOps as the number of committed micro-ops plus the