From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/MachineInfo.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Stars45/MachineInfo.cpp') diff --git a/Stars45/MachineInfo.cpp b/Stars45/MachineInfo.cpp index 85d2bd6..64552ba 100644 --- a/Stars45/MachineInfo.cpp +++ b/Stars45/MachineInfo.cpp @@ -13,7 +13,6 @@ #include -#include "MemDebug.h" #include "MachineInfo.h" #include "Utils.h" @@ -762,7 +761,7 @@ static void DescribeDriverVersion(const char* file) return; } - LPBYTE pBlock = new(__FILE__,__LINE__) BYTE[nBytes]; + LPBYTE pBlock = new BYTE[nBytes]; if (pBlock && GetFileVersionInfo(szFile, dwHandle, nBytes, (LPVOID) pBlock)) { GetTranslation(pBlock); @@ -799,7 +798,7 @@ static void DescribeDXVersion(const char* component) return; } - LPBYTE pBlock = new(__FILE__,__LINE__) BYTE[nBytes]; + LPBYTE pBlock = new BYTE[nBytes]; if (pBlock && GetFileVersionInfo(szFile, dwHandle, nBytes, (LPVOID) pBlock)) { GetTranslation(pBlock); -- cgit v1.1