mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
A couple of minor fixes, and changed code to use std::swap instead of swapVariables()
This commit is contained in:
parent
1fb8929c55
commit
904e1aba45
27 changed files with 65 additions and 61 deletions
|
|
@ -105,8 +105,8 @@ bool RelativePointPath::operator!= (const RelativePointPath& other) const throw(
|
|||
void RelativePointPath::swapWith (RelativePointPath& other) throw()
|
||||
{
|
||||
elements.swapWithArray (other.elements);
|
||||
swapVariables (usesNonZeroWinding, other.usesNonZeroWinding);
|
||||
swapVariables (containsDynamicPoints, other.containsDynamicPoints);
|
||||
std::swap (usesNonZeroWinding, other.usesNonZeroWinding);
|
||||
std::swap (containsDynamicPoints, other.containsDynamicPoints);
|
||||
}
|
||||
|
||||
void RelativePointPath::createPath (Path& path, Expression::Scope* scope) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue