mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
remove dependency on serialize.h and util.h for SecureString
This commit is contained in:
10
src/util.h
10
src/util.h
@@ -267,16 +267,6 @@ public:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 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)
|
||||
{
|
||||
return strprintf("%"PRI64d, n);
|
||||
|
||||
Reference in New Issue
Block a user