aboutsummaryrefslogtreecommitdiff
path: root/sibs/SafeSerializer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sibs/SafeSerializer.hpp')
-rw-r--r--sibs/SafeSerializer.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sibs/SafeSerializer.hpp b/sibs/SafeSerializer.hpp
index 379b7c8..9576053 100644
--- a/sibs/SafeSerializer.hpp
+++ b/sibs/SafeSerializer.hpp
@@ -16,6 +16,10 @@ namespace sibs
DISABLE_COPY(SafeSerializer);
public:
SafeSerializer(){}
+ SafeSerializer(SafeSerializer &&other)
+ {
+ buffer = std::move(other.buffer);
+ }
template <typename T>
void add(const T &data)