From 09fefa75ebbda2a7f9ea46c0c4a7bb862a4d0ade Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 27 Feb 2019 02:00:36 -0500 Subject: [PATCH] Update to Rack v1 API --- src/Merge.cpp | 2 +- src/Unity.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Merge.cpp b/src/Merge.cpp index 71c1579..ca07341 100644 --- a/src/Merge.cpp +++ b/src/Merge.cpp @@ -70,7 +70,7 @@ struct Merge : Module { struct MergeChannelItem : MenuItem { Merge *module; int channels; - void onAction(const event::Action &e) override { + void onAction(const ActionEvent &e) override { module->channels = channels; } }; diff --git a/src/Unity.cpp b/src/Unity.cpp index e2ff5b9..c6a159d 100644 --- a/src/Unity.cpp +++ b/src/Unity.cpp @@ -100,7 +100,7 @@ struct Unity : Module { struct UnityMergeItem : MenuItem { Unity *unity; - void onAction(const event::Action &e) override { + void onAction(const ActionEvent &e) override { unity->merge ^= true; } void step() override {