Remove unnecessary duplicate take of Sequence's read_lock.
git-svn-id: svn://localhost/ardour2/branches/3.0@9537 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c86ccc7db2
commit
819faa3b0b
@ -81,8 +81,6 @@ Sequence<Time>::const_iterator::const_iterator(const Sequence<Time>& seq, Time t
|
|||||||
|
|
||||||
_lock = seq.read_lock();
|
_lock = seq.read_lock();
|
||||||
|
|
||||||
typename Sequence<Time>::ReadLock lock(seq.read_lock());
|
|
||||||
|
|
||||||
// Find first note which begins at or after t
|
// Find first note which begins at or after t
|
||||||
_note_iter = seq.note_lower_bound(t);
|
_note_iter = seq.note_lower_bound(t);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user