X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fannotation.hpp;h=2be8e88d989e4cddacaa18d9b86156ca875c4e95;hb=0c5fe73e5b66bf31d2dcfa2b2846a86cd2fdf0c4;hp=071f292a8c2fa1a687295590a94b9cb5d67b3bb4;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git diff --git a/pv/data/decode/annotation.hpp b/pv/data/decode/annotation.hpp index 071f292a..2be8e88d 100644 --- a/pv/data/decode/annotation.hpp +++ b/pv/data/decode/annotation.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_VIEW_DECODE_ANNOTATION_HPP @@ -25,6 +24,8 @@ #include +using std::vector; + struct srd_proto_data; namespace pv { @@ -39,13 +40,13 @@ public: uint64_t start_sample() const; uint64_t end_sample() const; int format() const; - const std::vector& annotations() const; + const vector& annotations() const; private: uint64_t start_sample_; uint64_t end_sample_; int format_; - std::vector annotations_; + vector annotations_; }; } // namespace decode