aboutsummaryrefslogtreecommitdiff
path: root/serialize.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-02-10 19:24:22 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-02-10 19:24:22 -0500
commit47908a890726f424371c9784b8508cff163c2c78 (patch)
treea6cad544ed82f11837bd88ae5d1a68f0d3e57974 /serialize.h
parentd2e2cb0d27deb3098153b43d26743030f24ac1c8 (diff)
Visual C++ compatibility fixes
Diffstat (limited to 'serialize.h')
-rw-r--r--serialize.h2
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; };