From: Nikos Nikoleris Date: Thu, 23 Apr 2020 19:03:34 +0000 (+0100) Subject: mem-ruby: Avoid const from member due to &Message::operator=(...) X-Git-Tag: v20.0.0.0~86 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52c777bbee535fb30774069c038fc3d614eebaee;p=gem5.git 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 --- 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?