Browse Source

porting bugs

David Rose 24 years ago
parent
commit
3730524733
2 changed files with 3 additions and 2 deletions
  1. 1 0
      panda/src/downloader/downloader_headers.h
  2. 2 2
      panda/src/express/memoryUsage.h

+ 1 - 0
panda/src/downloader/downloader_headers.h

@@ -35,5 +35,6 @@
 #include <throw_event.h>
 #include <throw_event.h>
 
 
 #include "config_downloader.h"
 #include "config_downloader.h"
+#include "download_utils.h"
 #pragma hdrstop
 #pragma hdrstop
 
 

+ 2 - 2
panda/src/express/memoryUsage.h

@@ -125,7 +125,7 @@ private:
   static MemoryUsage *_global_ptr;
   static MemoryUsage *_global_ptr;
 
 
   // Cannot use a pmap, since that would be recursive!
   // Cannot use a pmap, since that would be recursive!
-  typedef map<void *, MemoryInfo> Table;
+  typedef pmap<void *, MemoryInfo> Table;
   Table _table;
   Table _table;
   int _freeze_index;
   int _freeze_index;
   int _count;
   int _count;
@@ -140,7 +140,7 @@ private:
 
 
   private:
   private:
     // Cannot use a pmap, since that would be recursive!
     // Cannot use a pmap, since that would be recursive!
-    typedef map<TypeHandle, MemoryUsagePointerCounts> Counts;
+    typedef pmap<TypeHandle, MemoryUsagePointerCounts> Counts;
     Counts _counts;
     Counts _counts;
   };
   };
   TypeHistogram _trend_types;
   TypeHistogram _trend_types;