]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/int.cpp
Added decoder options binding for double values
[pulseview.git] / pv / prop / int.cpp
index faa3171d85d41b13115ba37c624abfa65be6d4bf..8124f9b0c9a2abc88772f99cac0961b9e72fb20a 100644 (file)
 
 #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;