mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix evoral assignment operator (copy buffer)
This commit is contained in:
parent
06cc5e5240
commit
3bc0d3e57b
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ Event<Timestamp>::operator=(const Event& copy)
|
|||
_type = copy._type;
|
||||
_original_time = copy._original_time;
|
||||
_nominal_time = copy._nominal_time;
|
||||
_owns_buf = copy._owns_buf;
|
||||
if (_owns_buf) {
|
||||
if (copy._buf) {
|
||||
if (copy._size > _size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue