From e344b9c734d86d5d42d76c1e7386a9b6e710715d Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Fri, 27 Jun 2014 17:17:11 -0400 Subject: [PATCH] Improved (fixed?) serialization for vec --- src/serialization/vector.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/serialization/vector.h b/src/serialization/vector.h index 9a0c0ee56..d07472352 100644 --- a/src/serialization/vector.h +++ b/src/serialization/vector.h @@ -16,6 +16,13 @@ namespace serialization return ::do_serialize(ar, e); } + template + bool serialize_vector_element(Archive& ar, uint32_t& e) + { + ar.serialize_varint(e); + return true; + } + template bool serialize_vector_element(Archive& ar, uint64_t& e) {