瀏覽代碼

memoryInfo fix for debug builds

Zachary Pavlov 19 年之前
父節點
當前提交
88f87760b8
共有 2 個文件被更改,包括 1 次插入2 次删除
  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"
 
 #ifdef _WIN32
-#include <windows.h>  // for IsBadWritePtr()
+//#include <windows.h>  // for IsBadWritePtr()
 #endif
 
 

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

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