Implement error-handling (file names and locations) via std::source_location and added CRT debugging memory leak detection.
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user