aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/serialize.h2
-rw-r--r--src/util.h8
2 files changed, 0 insertions, 10 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 12ea1ec695..fe2aebe7f5 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -1083,8 +1083,6 @@ public:
int nType;
int nVersion;
- typedef FILE element_type;
-
CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn)
{
file = filenew;
diff --git a/src/util.h b/src/util.h
index 6c3e6c5450..5f8d0375da 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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)
{
return strprintf("%"PRI64d, n);