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:
parent
19b7d59c14
commit
5b25ac6609
17 changed files with 47 additions and 31 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue