X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.cpp;h=56ebc7e598299f4faae507a0aea943d9401b77f1;hp=14097cfdc03453431a66d22f81f8d1ae87a40692;hb=e8d009288de28cb194bc7964f96677c2baf900c9;hpb=87b79835014a386fb51b52bc993dbb693bd27197 diff --git a/pv/data/decode/decoder.cpp b/pv/data/decode/decoder.cpp index 14097cfd..56ebc7e5 100644 --- a/pv/data/decode/decoder.cpp +++ b/pv/data/decode/decoder.cpp @@ -20,7 +20,7 @@ #include -#include +#include #include #include "decoder.h" @@ -139,7 +139,7 @@ srd_decoder_inst* Decoder::create_decoder_inst(srd_session *session, int unit_si { shared_ptr signal((*i).second); GVariant *const gvar = g_variant_new_int32( - signal->channel()->index); + signal->channel()->index()); g_variant_ref_sink(gvar); g_hash_table_insert(channels, (*i).first->id, gvar); }