X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fallocators.h;h=c787b359e288c2f2e4f45303546f69cd7d523eb4;hb=61a94025554ddd04d75635597444a4606fa9f81b;hp=fc95452b4026f57015285831dd1d0c290bcace30;hpb=b37f207649a9540638f76a7b8b4cfd22411b6235;p=novacoin.git diff --git a/src/allocators.h b/src/allocators.h index fc95452..c787b35 100644 --- a/src/allocators.h +++ b/src/allocators.h @@ -12,6 +12,7 @@ #include #include #include +#include #ifdef WIN32 #ifdef _WIN32_WINNT @@ -257,4 +258,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