mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 08:15:44 +00:00
Pass by const reference
This commit is contained in:
parent
be0b9728e5
commit
8862bc2f3a
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ extern "C"
|
||||||
int (*torque_winmain)( HINSTANCE hInstance, HINSTANCE h, LPSTR lpszCmdLine, int nShow) = NULL;
|
int (*torque_winmain)( HINSTANCE hInstance, HINSTANCE h, LPSTR lpszCmdLine, int nShow) = NULL;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool getDllName(std::wstring& dllName, const std::wstring suffix)
|
bool getDllName(std::wstring& dllName, const std::wstring& suffix)
|
||||||
{
|
{
|
||||||
wchar_t filenameBuf[MAX_PATH];
|
wchar_t filenameBuf[MAX_PATH];
|
||||||
DWORD length = GetModuleFileNameW( NULL, filenameBuf, MAX_PATH );
|
DWORD length = GetModuleFileNameW( NULL, filenameBuf, MAX_PATH );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue