diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index 8dcd6cefec..b107ea8be4 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -375,7 +375,6 @@ public: } void get_cue_markers (CueMarkers&, bool abs = false) const; - void add_cue_marker (std::string const &, samplepos_t pos); protected: virtual XMLNode& state (); diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 6481ac59bc..371644f9ca 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -1937,20 +1937,6 @@ Region::get_cue_markers (CueMarkers& cues, bool abs) const } } -void -Region::add_cue_marker (std::string const & str, samplepos_t pos) -{ - if (pos < _position || pos >= _position + _length) { - return; - } - - CueMarker marker (str, pos - _start); - - for (SourceList::iterator s = _sources.begin(); s != _sources.end(); ++s) { - (*s)->add_cue_marker (marker); - } -} - void Region::drop_sources () {