From b44cb8b7105b9addcc6e09cc35ca2ac382e36a6a Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 27 Sep 2017 12:31:36 +0100 Subject: [PATCH] Minor breaking change: removed the legacy swapVariables function. Just use std::swap instead and it'll do a better job! --- modules/juce_core/maths/juce_MathsFunctions.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/juce_core/maths/juce_MathsFunctions.h b/modules/juce_core/maths/juce_MathsFunctions.h index 759b5c020d..15a75e8d76 100644 --- a/modules/juce_core/maths/juce_MathsFunctions.h +++ b/modules/juce_core/maths/juce_MathsFunctions.h @@ -262,9 +262,6 @@ bool isPositiveAndNotGreaterThan (int valueToTest, Type upperLimit) noexcept } //============================================================================== -/** @deprecated Just use std::swap instead! */ -JUCE_DEPRECATED_WITH_BODY (template void swapVariables (Type& variable1, Type& variable2), { std::swap (variable1, variable2); }) - /** Handy function for avoiding unused variables warning. */ template void ignoreUnused (const Type1&) noexcept {}