diff options
-rw-r--r-- | src/PatchageEvent.hpp | 6 | ||||
-rw-r--r-- | src/handle_event.cpp | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index 02d224a..2a87a2e 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -24,9 +24,6 @@ #include <string> -struct NoopEvent -{}; - struct ClientCreationEvent { ClientID id; @@ -60,8 +57,7 @@ struct DisconnectionEvent }; /// An event from drivers that is processed by the GUI -using PatchageEvent = boost::variant<NoopEvent, - ClientCreationEvent, +using PatchageEvent = boost::variant<ClientCreationEvent, ClientDestructionEvent, PortCreationEvent, PortDestructionEvent, diff --git a/src/handle_event.cpp b/src/handle_event.cpp index acd2420..47b2557 100644 --- a/src/handle_event.cpp +++ b/src/handle_event.cpp @@ -51,8 +51,6 @@ public: : _patchage{patchage} {} - void operator()(const NoopEvent&) {} - void operator()(const ClientCreationEvent&) { // Don't create empty modules, they will be created when ports are added |