X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.cpp;h=aff4a26b333b68b2672af073c87b8ad5c392d406;hp=02859b2790a5b10f7979653ccc1ff41f8000e84c;hb=1becee23bdd2b44145b753edd05bf01f7fb0707e;hpb=83b9c07b79b30c1a76a10234dc01d3a5d48eba56;ds=sidebyside diff --git a/pv/data/decode/rowdata.cpp b/pv/data/decode/rowdata.cpp index 02859b27..aff4a26b 100644 --- a/pv/data/decode/rowdata.cpp +++ b/pv/data/decode/rowdata.cpp @@ -42,9 +42,9 @@ void RowData::get_annotation_subset( dest.push_back(annotation); } -void RowData::push_annotation(const Annotation &a) +void RowData::emplace_annotation(srd_proto_data *pdata) { - annotations_.push_back(a); + annotations_.emplace_back(pdata); } } // namespace decode