mem-ruby: Avoid const from member due to &Message::operator=(...)
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 23 Apr 2020 19:03:34 +0000 (20:03 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 30 Apr 2020 09:14:42 +0000 (09:14 +0000)
Change-Id: I172f48ce8ee4a3870165309342dadc2ac39ded9a
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28249
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/slicc_interface/Message.hh

index 0c2e0aa42fd2a84ff3029685018222ac1be61921..1044fe022ca9f7a8869260dc075a00da2cbd9301 100644 (file)
@@ -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?