Rename to swapWith and use a template parameter

This commit is contained in:
Vinnie Falco
2013-07-28 03:41:04 -07:00
parent 18333eac29
commit 04fadc84a6
6 changed files with 16 additions and 13 deletions

View File

@@ -122,7 +122,7 @@ bool StringArray::operator!= (const StringArray& other) const noexcept
void StringArray::swapWith (StringArray& other) noexcept
{
strings.swapWithArray (other.strings);
strings.swapWith (other.strings);
}
void StringArray::clear()