mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor breaking change: removed the legacy swapVariables function. Just use std::swap instead and it'll do a better job!
This commit is contained in:
parent
27a6903cac
commit
b44cb8b710
1 changed files with 0 additions and 3 deletions
|
|
@ -262,9 +262,6 @@ bool isPositiveAndNotGreaterThan (int valueToTest, Type upperLimit) noexcept
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
/** @deprecated Just use std::swap instead! */
|
||||
JUCE_DEPRECATED_WITH_BODY (template <typename Type> void swapVariables (Type& variable1, Type& variable2), { std::swap (variable1, variable2); })
|
||||
|
||||
/** Handy function for avoiding unused variables warning. */
|
||||
template <typename Type1>
|
||||
void ignoreUnused (const Type1&) noexcept {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue