mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-01-23 06:16:12 +00:00
Use clear() instread of erase(begin(), end()). (PR #1053)
This commit is contained in:
@@ -79,7 +79,7 @@ void MemoryTextFile_t::GetLinePointers()
|
||||
if (! m_bDirty)
|
||||
return;
|
||||
|
||||
m_vLines.erase( m_vLines.begin(), m_vLines.end() );
|
||||
m_vLines.clear();
|
||||
char *pBegin = & m_vBuffer[ 0 ];
|
||||
char *pLast = & m_vBuffer[ m_vBuffer.size()-1 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user