From 47908a890726f424371c9784b8508cff163c2c78 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Thu, 10 Feb 2011 19:24:22 -0500 Subject: Visual C++ compatibility fixes --- serialize.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'serialize.h') 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 typedef typename base::value_type value_type; secure_allocator() throw() {} secure_allocator(const secure_allocator& a) throw() : base(a) {} + template + secure_allocator(const secure_allocator& a) throw() : base(a) {} ~secure_allocator() throw() {} template struct rebind { typedef secure_allocator<_Other> other; }; -- cgit v1.2.3