1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility.

This commit is contained in:
jules 2013-07-28 11:31:25 +01:00
parent 19b7d59c14
commit 5b25ac6609
17 changed files with 47 additions and 31 deletions

View file

@ -94,7 +94,7 @@ bool RelativePointPath::operator!= (const RelativePointPath& other) const noexce
void RelativePointPath::swapWith (RelativePointPath& other) noexcept
{
elements.swapWithArray (other.elements);
elements.swapWith (other.elements);
std::swap (usesNonZeroWinding, other.usesNonZeroWinding);
std::swap (containsDynamicPoints, other.containsDynamicPoints);
}