Merge pull request #1176 from Diapolo/project-file
authorWladimir J. van der Laan <laanwj@gmail.com>
Tue, 1 May 2012 19:38:56 +0000 (12:38 -0700)
committerWladimir J. van der Laan <laanwj@gmail.com>
Tue, 1 May 2012 19:38:56 +0000 (12:38 -0700)
fix DEPENDPATH in the project file, as json has no include sub-dir and src was in twice

src/serialize.h
src/util.h

index 12ea1ec..fe2aebe 100644 (file)
@@ -1083,8 +1083,6 @@ public:
     int nType;
     int nVersion;
 
-    typedef FILE element_type;
-
     CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn)
     {
         file = filenew;
index 6c3e6c5..5f8d037 100644 (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)
 {
     return strprintf("%"PRI64d, n);