mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
fix breakage for optimized build caused by semantically critical statement inside an assert()
git-svn-id: svn://localhost/ardour2/branches/3.0@14004 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9a20dbad7a
commit
d7e39ee5c7
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ MidiRingBuffer<T>::read(MidiBuffer& dst, framepos_t start, framepos_t end, frame
|
|||
/* this cannot fail, because we've already verified that there
|
||||
is prefix_space to read
|
||||
*/
|
||||
assert (this->peek (peekbuf, prefix_size));
|
||||
this->peek (peekbuf, prefix_size);
|
||||
|
||||
ev_time = *((T*) peekbuf);
|
||||
ev_size = *((uint32_t*)(peekbuf + sizeof(T) + sizeof (Evoral::EventType)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue