@lumberyard-employee-dm suggestion to use (w)string_view as the src to simplify functions in conversions.h
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,7 @@ namespace CrashHandler
|
||||
std::string returnPath;
|
||||
GetExecutablePath(returnPath);
|
||||
wchar_t currentFileNameW[CRASH_HANDLER_MAX_PATH_LEN] = { 0 };
|
||||
AZStd::to_wstring(currentFileNameW, CRASH_HANDLER_MAX_PATH_LEN, returnPath.c_str(), returnPath.size());
|
||||
AZStd::to_wstring(currentFileNameW, CRASH_HANDLER_MAX_PATH_LEN, { returnPath.c_str(), returnPath.size() });
|
||||
returnPathW = currentFileNameW;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user