From 52c777bbee535fb30774069c038fc3d614eebaee Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Thu, 23 Apr 2020 20:03:34 +0100 Subject: [PATCH] mem-ruby: Avoid const from member due to &Message::operator=(...) Change-Id: I172f48ce8ee4a3870165309342dadc2ac39ded9a Signed-off-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28249 Reviewed-by: Matthew Poremba Maintainer: Bobby R. Bruce Tested-by: kokoro --- src/mem/ruby/slicc_interface/Message.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/ruby/slicc_interface/Message.hh b/src/mem/ruby/slicc_interface/Message.hh index 0c2e0aa42..1044fe022 100644 --- a/src/mem/ruby/slicc_interface/Message.hh +++ b/src/mem/ruby/slicc_interface/Message.hh @@ -104,7 +104,7 @@ class Message void setVnet(int net) { vnet = net; } private: - const Tick m_time; + Tick m_time; Tick m_LastEnqueueTime; // my last enqueue time Tick m_DelayedTicks; // my delayed cycles uint64_t m_msg_counter; // FIXME, should this be a 64-bit value? -- 2.30.2