From fa7361907a0a5d6698bb7e8e45fa5ac034b81066 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 22 Oct 2014 15:08:30 -0400 Subject: boost: split stream classes out of serialize.h serialization now has no dependencies. --- src/allocators.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/allocators.h') diff --git a/src/allocators.h b/src/allocators.h index 6b69e7ae6..78a3b76d0 100644 --- a/src/allocators.h +++ b/src/allocators.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -261,4 +262,7 @@ struct zero_after_free_allocator : public std::allocator { // This is exactly like std::string, but with a custom allocator. typedef std::basic_string, secure_allocator > SecureString; +// Byte-vector that clears its contents before deletion. +typedef std::vector > CSerializeData; + #endif // BITCOIN_ALLOCATORS_H -- cgit v1.2.3