Implement error-handling (file names and locations) via std::source_location and added CRT debugging memory leak detection.

This commit is contained in:
2023-11-11 00:54:50 -06:00
parent 75159a21be
commit 67a5288984
32 changed files with 173 additions and 124 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ protected:
}
virtual inline MenuComponent*PickUpDraggableItem()override{
if(valid){
MenuItemButton*pickUp=new MenuItemButton(parentMenu,rect,invRef,inventoryIndex,onClick);
MenuItemButton*pickUp=NEW MenuItemButton(parentMenu,rect,invRef,inventoryIndex,onClick);
valid=false;
return pickUp;
}else{