X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fdouble.hpp;h=863648d834b89dc6713578933184e735fd79045f;hb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;hp=df4a254fcbaf5a970ad00f97908da8a779adf053;hpb=efdec55aec1a137460fa362a381ed1904182bfed;p=pulseview.git diff --git a/pv/prop/double.hpp b/pv/prop/double.hpp index df4a254..863648d 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,13 +56,13 @@ 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_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_DOUBLE_HPP