From 034a0ce74fae591a241b4620dc1d4bb019ced0d5 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 30 Jan 2025 13:19:45 +0100 Subject: [PATCH] Win: Test GetModuleFileNameA Signed-off-by: Simon Rozman --- include/WinStd/Win.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/WinStd/Win.h b/include/WinStd/Win.h index 04411fd3..607a4e4b 100644 --- a/include/WinStd/Win.h +++ b/include/WinStd/Win.h @@ -25,8 +25,6 @@ template static DWORD GetModuleFileNameA(_In_opt_ HMODULE hModule, _Out_ std::basic_string &sValue) noexcept { - assert(0); // TODO: Test this code. - char szStackBuffer[WINSTD_STACK_BUFFER_BYTES/sizeof(char)]; // Try with stack buffer first.