X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fint.cpp;h=8124f9b0c9a2abc88772f99cac0961b9e72fb20a;hb=005cd4a714981dab06c5a59b7512e19efb03e24d;hp=faa3171d85d41b13115ba37c624abfa65be6d4bf;hpb=ac223c1e07cb56b69c8a11b94014a0ad3ccf393f;p=pulseview.git diff --git a/pv/prop/int.cpp b/pv/prop/int.cpp index faa3171..8124f9b 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;