Remove dead/annoying/unsafe code

Note the old Note::operator= was unsafe, since it made shallow copies of the on
and off events, which results in a double delete of events when the notes are
destructed.
This commit is contained in:
David Robillard 2016-12-04 13:20:15 -05:00
parent 11464bfb18
commit 7d2ed46b63
6 changed files with 2 additions and 51 deletions

View file

@ -328,18 +328,6 @@ Curve::_get_vector (double x0, double x1, float *vec, int32_t veclen)
}
}
double
Curve::unlocked_eval (double x)
{
// I don't see the point of this...
if (_dirty) {
solve ();
}
return _list.unlocked_eval (x);
}
double
Curve::multipoint_eval (double x)
{
@ -416,13 +404,3 @@ Curve::multipoint_eval (double x)
}
} // namespace Evoral
extern "C" {
void
curve_get_vector_from_c (void *arg, double x0, double x1, float* vec, int32_t vecsize)
{
static_cast<Evoral::Curve*>(arg)->get_vector (x0, x1, vec, vecsize);
}
}