X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdeviceoptions.h;h=f27823bdf08d8a0a10be5a466cae13cd446003aa;hp=0b441599e70df89b9c57f5665282cbadecf3a723;hb=2f779c1bd6a9a74c97be09ee6842a7527e083fa6;hpb=b3e8a5d8e8139278a40508694e0b179170fffa14 diff --git a/pv/prop/binding/deviceoptions.h b/pv/prop/binding/deviceoptions.h index 0b441599..f27823bd 100644 --- a/pv/prop/binding/deviceoptions.h +++ b/pv/prop/binding/deviceoptions.h @@ -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