summaryrefslogtreecommitdiff
path: root/libs/evoral/src/Sequence.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-07 19:55:43 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-07 19:55:43 +0000
commit56554af08f7a54e0415bc3fff4752ca141e56498 (patch)
tree97e4d708ff33f72cbdba8279fb20387e27de5f46 /libs/evoral/src/Sequence.cpp
parentf3fc6195bc6136a31b08ffe8c260a64efe77f9dc (diff)
Revert previous ill-thought-out patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8213 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/Sequence.cpp')
-rw-r--r--libs/evoral/src/Sequence.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp
index c8791d2158..5c6f492a36 100644
--- a/libs/evoral/src/Sequence.cpp
+++ b/libs/evoral/src/Sequence.cpp
@@ -1076,26 +1076,6 @@ Sequence<Time>::control_list_marked_dirty ()
set_edited (true);
}
-template<typename Time>
-void
-Sequence<Time>::insert_silence_at_start (Time t)
-{
- for (typename Notes::iterator i = _notes.begin(); i != _notes.end(); ++i) {
- (*i)->set_time ((*i)->time() + t);
- }
-
- for (typename SysExes::iterator i = _sysexes.begin (); i != _sysexes.end(); ++i) {
- (*i)->set_time ((*i)->time() + t);
- (*i)->set_original_time ((*i)->original_time() + t);
- }
-
- for (typename Controls::iterator i = _controls.begin(); i != _controls.end(); ++i) {
- i->second->list()->shift (0, t);
- }
-
- _edited = true;
-}
-
template class Sequence<Evoral::MusicalTime>;
} // namespace Evoral