mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-22 05:22:32 +01:00
Use iterator-based wstring constructor here
This commit is contained in:
parent
889daff459
commit
84e8be3c38
@ -148,7 +148,7 @@ private:
|
||||
const wchar_t* dotPos = wcsrchr( nameBegin, '.' );
|
||||
if ( dotPos != nullptr )
|
||||
{
|
||||
m_moduleList.emplace_back( *modules, std::wstring( nameBegin, std::distance( nameBegin, dotPos ) ) );
|
||||
m_moduleList.emplace_back( *modules, std::wstring( nameBegin, dotPos ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user