NetworkMessage copy constructor fix
authorTushar Krishna <Tushar.Krishna@amd.com>
Thu, 8 Jul 2010 23:18:20 +0000 (16:18 -0700)
committerTushar Krishna <Tushar.Krishna@amd.com>
Thu, 8 Jul 2010 23:18:20 +0000 (16:18 -0700)
src/mem/ruby/slicc_interface/NetworkMessage.hh

index c92de09378eb353fbcc0df6232f96f0a70cd53c2..082481e054cd5dfdb35c3be9a56c2531e18ba0b4 100644 (file)
@@ -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() { }