summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Krishna <Tushar.Krishna@amd.com>2010-07-08 16:18:20 -0700
committerTushar Krishna <Tushar.Krishna@amd.com>2010-07-08 16:18:20 -0700
commit2f2962fee376a00e97bdd6453c454503479a6b77 (patch)
tree5d36a712e4c6ffc9b877a936a8f7704012584e20
parent26f5a9c2cb6025459027bba1386c6ffb2e935fff (diff)
downloadgem5-2f2962fee376a00e97bdd6453c454503479a6b77.tar.xz
NetworkMessage copy constructor fix
-rw-r--r--src/mem/ruby/slicc_interface/NetworkMessage.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/slicc_interface/NetworkMessage.hh b/src/mem/ruby/slicc_interface/NetworkMessage.hh
index c92de0937..082481e05 100644
--- a/src/mem/ruby/slicc_interface/NetworkMessage.hh
+++ b/src/mem/ruby/slicc_interface/NetworkMessage.hh
@@ -50,7 +50,8 @@ class NetworkMessage : public Message
{ }
NetworkMessage(const NetworkMessage &other)
- : Message(other), m_internal_dest_valid(other.m_internal_dest_valid)
+ : Message(other), m_internal_dest(other.m_internal_dest),
+ m_internal_dest_valid(other.m_internal_dest_valid)
{ }
virtual ~NetworkMessage() { }