diff options
Diffstat (limited to 'libs/ardour/curve.cc')
-rw-r--r-- | libs/ardour/curve.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/curve.cc b/libs/ardour/curve.cc index c576c55d45..f2ab337cb8 100644 --- a/libs/ardour/curve.cc +++ b/libs/ardour/curve.cc @@ -69,6 +69,17 @@ Curve::~Curve () { } +Curve& +Curve::operator= (const Curve& other) +{ + if (this != &other) { + *((AutomationList*)this) = other; + min_yval = other.min_yval; + max_yval = other.max_yval; + } + return *this; +} + void Curve::solve () { |