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
@ -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…
Reference in New Issue
Block a user