- probably fixes a lot of cases where note ids are assumed to be
unique (they weren't for copies and some others).
- wrong branch, but it needs testing.
, _nominal_time(copy._nominal_time)
, _size(copy._size)
, _buf(copy._buf)
- , _id(copy.id())
+ , _id (next_event_id ())
, _owns_buf(owns_buf)
{
if (owns_buf) {
const Event<Timestamp>&
Event<Timestamp>::operator=(const Event& copy)
{
- _id = copy.id(); // XXX is this right? do we want ID copy semantics?
+ _id = next_event_id ();
_type = copy._type;
_original_time = copy._original_time;
_nominal_time = copy._nominal_time;