summaryrefslogtreecommitdiff
path: root/syncBuffer.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 14:00:11 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 14:00:11 +0000
commit05f2c4e3f923dd4d952eff17089e5644819532d6 (patch)
tree99632f625c22ac1f5e516685ef53a9c407a35116 /syncBuffer.h
parentchanged from errno.h to cerrno (diff)
added syscbuffer copy constructor
Diffstat (limited to 'syncBuffer.h')
-rw-r--r--syncBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/syncBuffer.h b/syncBuffer.h
index 2058cdd..f56c70b 100644
--- a/syncBuffer.h
+++ b/syncBuffer.h
@@ -44,6 +44,7 @@ public:
SyncBuffer(u_int32_t length) : Buffer(length){ std::cout << "SyncBuffer(u_int32_t length) Length: " << length_ << std::endl; };
SyncBuffer(Buffer b): Buffer(b) {std::cout << " SyncBuffer(Buffer b) " << length_ << std::endl;};
SyncBuffer(u_int8_t* data, u_int32_t length): Buffer(data,length) { std::cout << "SyncBuffer(u_int8_t* data, u_int32_t length)-> Length: "<< length_ << std::endl;};
+ SyncBuffer(const SyncBuffer & src) : Buffer(src) {std::cout << " SyncBuffer(const SyncBuffer & src)-> Length: "<< length_ << std::endl;};
private:
friend class boost::serialization::access;
template<class Archive>