1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Made the interpolation classes moveable

This commit is contained in:
Tom Poole 2019-09-26 15:46:33 +01:00
parent 9c3f46309f
commit 2d0eb9e033
2 changed files with 6 additions and 0 deletions

View file

@ -42,6 +42,9 @@ public:
CatmullRomInterpolator() noexcept;
~CatmullRomInterpolator() noexcept;
CatmullRomInterpolator (CatmullRomInterpolator&&) noexcept = default;
CatmullRomInterpolator& operator= (CatmullRomInterpolator&&) noexcept = default;
/** Resets the state of the interpolator.
Call this when there's a break in the continuity of the input data stream.
*/

View file

@ -42,6 +42,9 @@ public:
LagrangeInterpolator() noexcept;
~LagrangeInterpolator() noexcept;
LagrangeInterpolator (LagrangeInterpolator&&) noexcept = default;
LagrangeInterpolator& operator= (LagrangeInterpolator&&) noexcept = default;
/** Resets the state of the interpolator.
Call this when there's a break in the continuity of the input data stream.
*/