13
0

Remove dead code.

This commit is contained in:
David Robillard 2014-11-30 21:41:06 -05:00
parent 0b48eb68f8
commit b68fd1cc25
2 changed files with 0 additions and 10 deletions

View File

@ -119,8 +119,6 @@ public:
void slide (iterator before, double distance);
void shift (double before, double distance);
virtual bool clamp_value (double& /*when*/, double& /*value*/) const { return true; }
virtual void add (double when, double value, bool with_guards=true, bool with_default=true);
virtual void editor_add (double when, double value);

View File

@ -453,10 +453,6 @@ ControlList::editor_add (double when, double value)
/* this is for making changes from a graphical line editor
*/
if (!clamp_value (when, value)) {
return;
}
if (_events.empty()) {
/* as long as the point we're adding is not at zero,
@ -487,10 +483,6 @@ ControlList::add (double when, double value, bool with_guards, bool with_default
control surface (GUI, MIDI, OSC etc)
*/
if (!clamp_value (when, value)) {
return;
}
DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 add %2 at %3 w/erase = %4 (new ? %6) at end ? %5\n",
this, value, when, _in_write_pass, (most_recent_insert_iterator == _events.end()), new_write_pass));
{