Fix build of togglerecord unit test

This commit is contained in:
Sebastian Dröge 2017-12-16 18:26:12 +02:00
parent 2ec85ac0b0
commit 8ef6a1830c

View file

@ -228,7 +228,7 @@ fn recv_buffers(
return res;
}
EventView::Segment(ref e) => {
*segment = e.get_segment().downcast().unwrap();
*segment = e.get_segment().clone().downcast().unwrap();
}
_ => (),
}