diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-28 17:23:52 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-28 17:23:52 -0400 |
commit | 1aab360b7d944350dea1f5ef81394229adb07c1e (patch) | |
tree | 53d9bcaadd429fe3126d306e0cc2345b669d3f8e /libs/surfaces | |
parent | e3c93b7470600df90e0734b7f810324a6818f3ae (diff) |
remove unnecessary method
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/push2/push2.cc | 13 |
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()) |