From: Tushar Krishna Date: Thu, 8 Jul 2010 23:18:20 +0000 (-0700) Subject: NetworkMessage copy constructor fix X-Git-Tag: stable_2012_02_02~998 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f2962fee376a00e97bdd6453c454503479a6b77;p=gem5.git NetworkMessage copy constructor fix --- 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() { }