diff options
-rw-r--r-- | dbaccess/source/core/api/RowSetCache.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index 923a41cc8356..cd5ad186380b 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -1441,8 +1441,7 @@ void ORowSetCache::deleteIterator(const ORowSetBase* _pRowSet) { if ( aCacheIter->second.pRowSet == _pRowSet ) { - m_aCacheIterators.erase(aCacheIter); - aCacheIter = m_aCacheIterators.begin(); + aCacheIter = m_aCacheIterators.erase(aCacheIter); } else ++aCacheIter; |