X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdeviceoptions.cpp;h=1ce08eb8a14d7c9b6cc4a167625e28a5606f5051;hb=d29059343817896931df3cfce2b34ec5fcc7818b;hp=f71cbac2a42aeb57a3db42d4377b973346e679d5;hpb=a2b921574b467fd9193d06497bf0ee058e8f7470;p=pulseview.git diff --git a/pv/prop/binding/deviceoptions.cpp b/pv/prop/binding/deviceoptions.cpp index f71cbac..1ce08eb 100644 --- a/pv/prop/binding/deviceoptions.cpp +++ b/pv/prop/binding/deviceoptions.cpp @@ -73,7 +73,7 @@ DeviceOptions::DeviceOptions(struct sr_dev_inst *sdi) : break; case SR_CONF_CAPTURE_RATIO: - bind_int(name, key, "%", make_pair(0L, 100L)); + bind_int(name, key, "%", pair(0, 100)); break; case SR_CONF_PATTERN_MODE: