summaryrefslogtreecommitdiff
path: root/syncBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'syncBuffer.h')
-rw-r--r--syncBuffer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/syncBuffer.h b/syncBuffer.h
index 1d4fc9f..222c197 100644
--- a/syncBuffer.h
+++ b/syncBuffer.h
@@ -45,7 +45,11 @@ public:
private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int version);
+ void serialize(Archive & ar, const unsigned int version)
+ {
+ ar & length_;
+ ar & buf_;
+ }
};
#endif