Bladeren bron

memoryInfo fix for debug builds

Zachary Pavlov 19 jaren geleden
bovenliggende
commit
88f87760b8
2 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 1
      panda/src/express/dcast.cxx
  2. 0 1
      panda/src/express/memoryInfo.cxx

+ 1 - 1
panda/src/express/dcast.cxx

@@ -20,7 +20,7 @@
 #include "config_express.h"
 #include "config_express.h"
 
 
 #ifdef _WIN32
 #ifdef _WIN32
-#include <windows.h>  // for IsBadWritePtr()
+//#include <windows.h>  // for IsBadWritePtr()
 #endif
 #endif
 
 
 
 

+ 0 - 1
panda/src/express/memoryInfo.cxx

@@ -171,7 +171,6 @@ update_type_handle(TypeHandle &destination, TypeHandle refined) {
 
 
   } else {
   } else {
     // Unrelated types, which might or might not be a problem.
     // Unrelated types, which might or might not be a problem.
-    destination = refined;
     return false;
     return false;
   }
   }