mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 04:27:42 +00:00
MS STL iteration fix
This commit is contained in:
@@ -782,7 +782,11 @@ public:
|
||||
if (replace)
|
||||
{
|
||||
auto relIt = pp.m_relPath.end();
|
||||
if (relIt != pp.m_relPath.begin())
|
||||
--relIt;
|
||||
auto absIt = pp.m_absPath.end();
|
||||
if (absIt != pp.m_absPath.begin())
|
||||
--absIt;
|
||||
while (relIt != pp.m_relPath.begin() && *relIt != _S('.') && *relIt != _S('/'))
|
||||
{
|
||||
--relIt;
|
||||
|
||||
Reference in New Issue
Block a user