X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fint.cpp;h=8124f9b0c9a2abc88772f99cac0961b9e72fb20a;hp=faa3171d85d41b13115ba37c624abfa65be6d4bf;hb=f27ee56d9c2b18158f2a9451b295123288134611;hpb=ac223c1e07cb56b69c8a11b94014a0ad3ccf393f diff --git a/pv/prop/int.cpp b/pv/prop/int.cpp index faa3171d..8124f9b0 100644 --- a/pv/prop/int.cpp +++ b/pv/prop/int.cpp @@ -25,8 +25,10 @@ #include "int.h" -using namespace std; -using namespace boost; +using boost::optional; +using std::max; +using std::min; +using std::pair; namespace pv { namespace prop { @@ -61,7 +63,6 @@ QWidget* Int::get_widget(QWidget *parent, bool auto_commit) g_variant_unref(_value); _value = _getter ? _getter() : NULL; - assert(_value); if (!_value) return NULL;