X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fint.hpp;h=e94f6cbf7e549039b3c8f4ed435247f29000e861;hp=92d7c62c93f9748c816b7c00fe5a1ec678f18cee;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/prop/int.hpp b/pv/prop/int.hpp index 92d7c62..e94f6cb 100644 --- a/pv/prop/int.hpp +++ b/pv/prop/int.hpp @@ -26,6 +26,8 @@ #include "property.hpp" +using std::pair; + class QSpinBox; namespace pv { @@ -37,7 +39,7 @@ class Int : public Property public: Int(QString name, QString suffix, - boost::optional< std::pair > range, + boost::optional< pair > range, Getter getter, Setter setter); virtual ~Int() = default; @@ -51,7 +53,7 @@ private Q_SLOTS: private: const QString suffix_; - const boost::optional< std::pair > range_; + const boost::optional< pair > range_; Glib::VariantBase value_; QSpinBox *spin_box_;