]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/rowdata.cpp
Implement annotation export for all rows
[pulseview.git] / pv / data / decode / rowdata.cpp
index aff4a26b333b68b2672af073c87b8ad5c392d406..2a26169eb6cc0f14adb5a107726c40ee891838b6 100644 (file)
@@ -42,9 +42,9 @@ void RowData::get_annotation_subset(
                        dest.push_back(annotation);
 }
 
-void RowData::emplace_annotation(srd_proto_data *pdata)
+void RowData::emplace_annotation(srd_proto_data *pdata, const Row *row)
 {
-       annotations_.emplace_back(pdata);
+       annotations_.emplace_back(pdata, row);
 }
 
 }  // namespace decode