mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
More std:: style for wxString and wxArrayString...
... Replacing: Insert => insert RemoveAt => erase Remove => erase IsSameAs => operator == or operator != (but only when second argument was true or default)
This commit is contained in:
@@ -91,7 +91,7 @@ void XMLWriter::StartTag(const wxString &name)
|
||||
|
||||
Write(wxString::Format(wxT("<%s"), name));
|
||||
|
||||
mTagstack.Insert(name, 0);
|
||||
mTagstack.insert(mTagstack.begin(), name);
|
||||
mHasKids[0] = true;
|
||||
mHasKids.insert(mHasKids.begin(), false);
|
||||
mDepth++;
|
||||
@@ -119,7 +119,7 @@ void XMLWriter::EndTag(const wxString &name)
|
||||
else {
|
||||
Write(wxT(">\n"));
|
||||
}
|
||||
mTagstack.RemoveAt(0);
|
||||
mTagstack.erase( mTagstack.begin() );
|
||||
mHasKids.erase(mHasKids.begin());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user