remove unnecessary method
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 21:23:52 +0000 (17:23 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 21:23:52 +0000 (17:23 -0400)
libs/surfaces/push2/push2.cc

index eb3956215398652dcb52aa19256052e261235d2f..68c99dd6f7d5605fcfb46cdebf4b1ab648486195 100644 (file)
@@ -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())