From 1a4e4a79991932714e39ef44b9f5ba1ca4c6c251 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 13:01:42 -0400 Subject: Fix compilation on OSX --- src/LV2Features.cpp | 7 +++++++ src/server/events/Delta.cpp | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp index e9ba29e7..3465981e 100644 --- a/src/LV2Features.cpp +++ b/src/LV2Features.cpp @@ -22,6 +22,13 @@ using namespace std; namespace Ingen { +void +LV2Features::Feature::free_feature(LV2_Feature* feature) +{ + free(feature->data); + free(feature); +} + LV2Features::LV2Features() { } diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 898fd971..e41d6a87 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -639,8 +639,6 @@ Delta::post_process() void Delta::undo(Interface& target) { - const Ingen::URIs& uris = _engine.world()->uris(); - if (_create_event) { _create_event->undo(target); } else if (_type == Type::PATCH) { -- cgit v1.2.1