diff options
Diffstat (limited to 'Stars45/MachineInfo.cpp')
-rw-r--r-- | Stars45/MachineInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 <chrono> -#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); |