mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Use iterator-based wstring constructor here
This commit is contained in:
parent
889daff459
commit
84e8be3c38
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue