X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.cpp;h=2a26169eb6cc0f14adb5a107726c40ee891838b6;hb=30fe44fbfb5727c6ca93f10cf4de913b4f13381f;hp=02859b2790a5b10f7979653ccc1ff41f8000e84c;hpb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;p=pulseview.git diff --git a/pv/data/decode/rowdata.cpp b/pv/data/decode/rowdata.cpp index 02859b2..2a26169 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, const Row *row) { - annotations_.push_back(a); + annotations_.emplace_back(pdata, row); } } // namespace decode