]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/decoder.hpp
Fix malformed declaration in MathSignal and add missing signal call
[pulseview.git] / pv / data / decode / decoder.hpp
index 2c4337478135fdc40d63c82c63316a59617f188e..86a371f26c67c11d72abfe80a3715cf2292921ae 100644 (file)
 
 #include <QObject>
 
-#include <pv/data/signalbase.hpp>
 #include <pv/data/decode/row.hpp>
 
 using std::deque;
 using std::map;
+using std::shared_ptr;
 using std::string;
 using std::vector;
 
@@ -82,7 +82,7 @@ struct DecodeChannel
        uint16_t id;     ///< Global numerical ID for the decode channels in the stack
        uint16_t bit_id; ///< Tells which bit within a sample represents this channel
        const bool is_optional;
-       const pv::data::SignalBase *assigned_signal;
+       shared_ptr<const pv::data::SignalBase> assigned_signal;
        const QString name, desc;
        int initial_pin_state;
        const shared_ptr<Decoder> decoder_;