From f62fb6dd9842c31d452b2a30e287ff1282fd1ee8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 19 Feb 2020 17:03:46 +0100 Subject: [PATCH] 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. --- libs/pbd/pbd/controllable.h | 13 ------------- 1 file changed, 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__ */