Visual C++ compatibility fixes

This commit is contained in:
Gavin Andresen
2011-02-10 19:24:22 -05:00
parent d2e2cb0d27
commit 47908a8907
2 changed files with 5 additions and 3 deletions

View File

@@ -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; };