+Annotation& Annotation::operator=(Annotation&& a)
+{
+ if (&a != this) {
+ if (annotations_)
+ delete annotations_;
+
+ start_sample_ = a.start_sample_;
+ end_sample_ = a.end_sample_;
+ annotations_ = a.annotations_;
+ row_ = a.row_;
+ ann_class_id_ = a.ann_class_id_;
+
+ a.annotations_ = nullptr;
+ }
+
+ return *this;
+}
+
+Annotation::~Annotation()