summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-09-28 17:23:52 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-28 17:23:52 -0400
commit1aab360b7d944350dea1f5ef81394229adb07c1e (patch)
tree53d9bcaadd429fe3126d306e0cc2345b669d3f8e /libs/surfaces
parente3c93b7470600df90e0734b7f810324a6818f3ae (diff)
remove unnecessary method
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/push2/push2.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc
index eb39562153..68c99dd6f7 100644
--- a/libs/surfaces/push2/push2.cc
+++ b/libs/surfaces/push2/push2.cc
@@ -72,19 +72,6 @@ using namespace ArdourSurface;
#define ABLETON 0x2982
#define PUSH2 0x1967
-__attribute__((constructor)) static void
-register_enums ()
-{
- EnumWriter& enum_writer (EnumWriter::instance());
- vector<int> i;
- vector<string> s;
-
-
-#define REGISTER(e) enum_writer.register_distinct (typeid(e).name(), i, s); i.clear(); s.clear()
-#define REGISTER_CLASS_ENUM(t,e) i.push_back (t::e); s.push_back (#e)
-
-}
-
Push2::Push2 (ARDOUR::Session& s)
: ControlProtocol (s, string (X_("Ableton Push 2")))
, AbstractUI<Push2Request> (name())