X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fannotation.cpp;h=7f2334788f70f93c2a734d680c90d6a8b957d293;hb=1e948182f3f9353bd74875a37cacc833312a8c8e;hp=b1dc6ef66c17efa6f44bd416bf546261380f2636;hpb=6f43db70c63c683d546566eda0be7f182f614655;p=pulseview.git diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp index b1dc6ef6..7f233478 100644 --- a/pv/data/decode/annotation.cpp +++ b/pv/data/decode/annotation.cpp @@ -35,7 +35,7 @@ namespace data { namespace decode { Annotation::Annotation(uint64_t start_sample, uint64_t end_sample, - const vector* texts, Class ann_class_id, const RowData *data) : + const vector* texts, uint32_t ann_class_id, const RowData *data) : start_sample_(start_sample), end_sample_(end_sample), texts_(texts), @@ -91,7 +91,7 @@ uint64_t Annotation::length() const return end_sample_ - start_sample_; } -Annotation::Class Annotation::ann_class_id() const +uint32_t Annotation::ann_class_id() const { return ann_class_id_; }