Make data_feed_in and data_feed_in_proc packet parameter a const pointer
[pulseview.git] / pv / sigsession.h
index 68b14e11036f491d0acb6b19dad7717271566b4a..259356eef263b655a50c83ddb2da9604ac19cfa2 100644 (file)
@@ -82,10 +82,10 @@ private:
                uint64_t record_length, uint64_t sample_rate);
 
        void data_feed_in(const struct sr_dev_inst *sdi,
-               struct sr_datafeed_packet *packet);
+               const struct sr_datafeed_packet *packet);
 
        static void data_feed_in_proc(const struct sr_dev_inst *sdi,
-               struct sr_datafeed_packet *packet);
+               const struct sr_datafeed_packet *packet);
 
 private:
        mutable boost::mutex _state_mutex;