projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Session: Make sure we don't try to add a non-existant decoder
[pulseview.git]
/
pv
/
prop
/
property.hpp
diff --git
a/pv/prop/property.hpp
b/pv/prop/property.hpp
index 6a4dd9ab2723156171cd04a23283b5f3ffd3434f..1a7b264dfc96429e6e3688bd81614337133c0374 100644
(file)
--- a/
pv/prop/property.hpp
+++ b/
pv/prop/property.hpp
@@
-30,6
+30,8
@@
G_GNUC_END_IGNORE_DEPRECATIONS
#include <QString>
#include <QWidget>
#include <QString>
#include <QWidget>
+using std::function;
+
class QWidget;
namespace pv {
class QWidget;
namespace pv {
@@
-40,8
+42,8
@@
class Property : public QObject
Q_OBJECT;
public:
Q_OBJECT;
public:
- typedef
std::
function<Glib::VariantBase ()> Getter;
- typedef
std::
function<void (Glib::VariantBase)> Setter;
+ typedef function<Glib::VariantBase ()> Getter;
+ typedef function<void (Glib::VariantBase)> Setter;
protected:
Property(QString name, Getter getter, Setter setter);
protected:
Property(QString name, Getter getter, Setter setter);