diff options
Diffstat (limited to 'serialize.h')
-rw-r--r-- | serialize.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/serialize.h b/serialize.h index 45dec955dd..522bbfb44e 100644 --- a/serialize.h +++ b/serialize.h @@ -763,6 +763,8 @@ struct secure_allocator : public std::allocator<T> typedef typename base::value_type value_type; secure_allocator() throw() {} secure_allocator(const secure_allocator& a) throw() : base(a) {} + template <typename U> + secure_allocator(const secure_allocator<U>& a) throw() : base(a) {} ~secure_allocator() throw() {} template<typename _Other> struct rebind { typedef secure_allocator<_Other> other; }; |