Rename to swapWith and use a template parameter

This commit is contained in:
Vinnie Falco
2013-07-28 03:41:04 -07:00
parent 8c10aed511
commit 217d3bb7a8
8 changed files with 18 additions and 15 deletions

View File

@@ -70,7 +70,7 @@ public:
explicit List (SharedObjectArray <Validator>& list)
{
m_list.swapWithArray (list);
m_list.swapWith (list);
}
~List ()

View File

@@ -167,7 +167,7 @@ public:
sorted.addSorted (compare, arrayToSort [i]);
}
arrayToSort.swapWithArray (sorted);
arrayToSort.swapWith (sorted);
}
// Given the old list and the new list for a source, this