diff options
| author | Gavin Andresen <[email protected]> | 2011-02-10 19:24:22 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-02-10 19:24:22 -0500 |
| commit | 47908a890726f424371c9784b8508cff163c2c78 (patch) | |
| tree | a6cad544ed82f11837bd88ae5d1a68f0d3e57974 /serialize.h | |
| parent | Added 320 fresh seednodes to replace the old ones. (diff) | |
| download | discoin-47908a890726f424371c9784b8508cff163c2c78.tar.xz discoin-47908a890726f424371c9784b8508cff163c2c78.zip | |
Visual C++ compatibility fixes
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 45dec955d..522bbfb44 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; }; |