mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Rename to swapWith and use a template parameter
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
explicit List (SharedObjectArray <Validator>& list)
|
||||
{
|
||||
m_list.swapWithArray (list);
|
||||
m_list.swapWith (list);
|
||||
}
|
||||
|
||||
~List ()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user