]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/binding/deviceoptions.h
Store DeviceOptions::_sdi as const
[pulseview.git] / pv / prop / binding / deviceoptions.h
index 0b441599e70df89b9c57f5665282cbadecf3a723..f27823bdf08d8a0a10be5a466cae13cd446003aa 100644 (file)
@@ -37,7 +37,7 @@ namespace binding {
 class DeviceOptions : public Binding
 {
 public:
-       DeviceOptions(struct sr_dev_inst *sdi);
+       DeviceOptions(const sr_dev_inst *sdi);
 
 private:
 
@@ -60,7 +60,7 @@ private:
        static QString print_voltage_threshold(GVariant *const gvar);
 
 protected:
-       struct sr_dev_inst *const _sdi;
+       const sr_dev_inst *const _sdi;
 };
 
 } // binding