X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fproperty.hpp;h=1a7b264dfc96429e6e3688bd81614337133c0374;hp=6a4dd9ab2723156171cd04a23283b5f3ffd3434f;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/prop/property.hpp b/pv/prop/property.hpp index 6a4dd9a..1a7b264 100644 --- a/pv/prop/property.hpp +++ b/pv/prop/property.hpp @@ -30,6 +30,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS #include #include +using std::function; + class QWidget; namespace pv { @@ -40,8 +42,8 @@ class Property : public QObject Q_OBJECT; public: - typedef std::function Getter; - typedef std::function Setter; + typedef function Getter; + typedef function Setter; protected: Property(QString name, Getter getter, Setter setter);