]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/property.h
Replaced boost::function with std::function
[pulseview.git] / pv / prop / property.h
index 0b4bc7b0ed9223bca1f20706688924812d41a51f..e5a523f93758ac6612f87637a06b7cad5770bd5e 100644 (file)
@@ -23,8 +23,6 @@
 
 #include <glib.h>
 
-#include <boost/function.hpp>
-
 #include <QString>
 #include <QWidget>
 
@@ -38,8 +36,8 @@ class Property : public QObject
        Q_OBJECT;
 
 public:
-       typedef boost::function<GVariant* ()> Getter;
-       typedef boost::function<void (GVariant*)> Setter;
+       typedef std::function<GVariant* ()> Getter;
+       typedef std::function<void (GVariant*)> Setter;
 
 protected:
        Property(QString name, Getter getter, Setter setter);