summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_Metadata.cpp')
-rw-r--r--source/packets/cPacket_Metadata.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/packets/cPacket_Metadata.cpp b/source/packets/cPacket_Metadata.cpp
index 9d2d61704..595801b54 100644
--- a/source/packets/cPacket_Metadata.cpp
+++ b/source/packets/cPacket_Metadata.cpp
@@ -35,6 +35,20 @@ cPacket_Metadata::cPacket_Metadata()
+cPacket_Metadata::cPacket_Metadata(const cPacket_Metadata & a_Other)
+ : m_EMetaData( a_Other.m_EMetaData )
+ , m_UniqueID( a_Other.m_UniqueID )
+ , m_Type( a_Other.m_Type )
+ , m_MetaData( NULL )
+{
+ m_PacketID = E_METADATA;
+ FormPacket();
+}
+
+
+
+
+
cPacket_Metadata::~cPacket_Metadata()
{
delete [] m_MetaData;