diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-19 17:03:46 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-19 17:03:46 +0100 |
commit | f62fb6dd9842c31d452b2a30e287ff1282fd1ee8 (patch) | |
tree | 5209d1bc231d05639ecb4b40952ef6d5196b3e4d /libs/pbd | |
parent | 7f2a59ca66408c019a77f9a90a940118d7c61642 (diff) |
Remove unused dummy control class
PBD::IgnorableControllable() is no longer used.
It also was problematic, because in every case where a
Controllable is required, min/max range and usually also
get/set value are significant.
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/controllable.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h index 3d5dd5fc65..c75da3cd31 100644 --- a/libs/pbd/pbd/controllable.h +++ b/libs/pbd/pbd/controllable.h @@ -191,19 +191,6 @@ private: static void remove (Controllable*); }; -/* a utility class for the occasions when you need but do not have - * a Controllable - */ -class LIBPBD_API IgnorableControllable : public Controllable -{ -public: - IgnorableControllable () : PBD::Controllable ("ignoreMe") {} - ~IgnorableControllable () {} - - void set_value (double v, PBD::Controllable::GroupControlDisposition group_override) {} - double get_value () const { return 0.0; } -}; - } #endif /* __pbd_controllable_h__ */ |