mirror of https://github.com/AxioDL/metaforce.git
MS STL iteration fix
This commit is contained in:
parent
a2a4a4e830
commit
4bf50c8c8d
|
@ -782,7 +782,11 @@ public:
|
||||||
if (replace)
|
if (replace)
|
||||||
{
|
{
|
||||||
auto relIt = pp.m_relPath.end();
|
auto relIt = pp.m_relPath.end();
|
||||||
|
if (relIt != pp.m_relPath.begin())
|
||||||
|
--relIt;
|
||||||
auto absIt = pp.m_absPath.end();
|
auto absIt = pp.m_absPath.end();
|
||||||
|
if (absIt != pp.m_absPath.begin())
|
||||||
|
--absIt;
|
||||||
while (relIt != pp.m_relPath.begin() && *relIt != _S('.') && *relIt != _S('/'))
|
while (relIt != pp.m_relPath.begin() && *relIt != _S('.') && *relIt != _S('/'))
|
||||||
{
|
{
|
||||||
--relIt;
|
--relIt;
|
||||||
|
|
Loading…
Reference in New Issue