因编译器不同导致迭代器无法使用
This commit is contained in:
parent
6c457d48a8
commit
7afeeb5f5d
|
@ -187,7 +187,7 @@ namespace ver_2
|
||||||
{
|
{
|
||||||
assert(NULL != param && this == param->mgr);
|
assert(NULL != param && this == param->mgr);
|
||||||
|
|
||||||
std::list<std::string>::const_iterator iter;
|
std::list<std::string>::iterator iter;
|
||||||
for (iter = m_saveFilePathList.begin(); iter != m_saveFilePathList.end(); ++iter)
|
for (iter = m_saveFilePathList.begin(); iter != m_saveFilePathList.end(); ++iter)
|
||||||
{
|
{
|
||||||
if (*iter == param->fileName)
|
if (*iter == param->fileName)
|
||||||
|
@ -382,7 +382,7 @@ namespace ver_2
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
errInfo = "错误";
|
errInfo = "错误";
|
||||||
|
|
||||||
std::list<std::string>::const_iterator iter;
|
std::list<std::string>::iterator iter;
|
||||||
for (iter = m_saveFilePathList.begin(); iter != m_saveFilePathList.end(); ++iter)
|
for (iter = m_saveFilePathList.begin(); iter != m_saveFilePathList.end(); ++iter)
|
||||||
{
|
{
|
||||||
if (filePath == *iter)
|
if (filePath == *iter)
|
||||||
|
|
Loading…
Reference in New Issue