X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fdouble.hpp;fp=pv%2Fprop%2Fdouble.hpp;h=666ece979a30f973969b32097073d856aad1078c;hp=df4a254fcbaf5a970ad00f97908da8a779adf053;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/prop/double.hpp b/pv/prop/double.hpp index df4a254f..666ece97 100644 --- a/pv/prop/double.hpp +++ b/pv/prop/double.hpp @@ -26,6 +26,8 @@ #include "property.hpp" +using std::pair; + class QDoubleSpinBox; namespace pv { @@ -37,7 +39,7 @@ class Double : public Property public: Double(QString name, int decimals, QString suffix, - boost::optional< std::pair > range, + boost::optional< pair > range, boost::optional step, Getter getter, Setter setter); @@ -54,7 +56,7 @@ private Q_SLOTS: private: const int decimals_; const QString suffix_; - const boost::optional< std::pair > range_; + const boost::optional< pair > range_; const boost::optional step_; QDoubleSpinBox *spin_box_;