Merge pull request #1177 from laanwj/2012_05_remove_duplicate_securestring

remove duplicate definition of SecureString in util.h
This commit is contained in:
Jeff Garzik 2012-05-01 10:05:00 -07:00
commit e19ccfa657

View File

@ -302,14 +302,6 @@ typedef boost::interprocess::interprocess_condition CConditionVariable;
} }
// This is exactly like std::string, but with a custom allocator.
// (secure_allocator<> is defined in serialize.h)
typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString;
inline std::string i64tostr(int64 n) inline std::string i64tostr(int64 n)
{ {
return strprintf("%"PRI64d, n); return strprintf("%"PRI64d, n);