1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

A couple of minor fixes, and changed code to use std::swap instead of swapVariables()

This commit is contained in:
Julian Storer 2011-04-01 09:38:25 +01:00
parent 1fb8929c55
commit 904e1aba45
27 changed files with 65 additions and 61 deletions

View file

@ -105,7 +105,7 @@ public:
void swapWith (ArrayAllocationBase <ElementType, TypeOfCriticalSectionToUse>& other) throw()
{
elements.swapWith (other.elements);
swapVariables (numAllocated, other.numAllocated);
std::swap (numAllocated, other.numAllocated);
}
//==============================================================================