From 8a21eaaa744a51f7772fe5668efb5649e8e9380f Mon Sep 17 00:00:00 2001
From: Christopher Stawarz <cstawarz@mit.edu>
Date: Tue, 24 May 2016 11:18:59 -0400
Subject: [PATCH] Added implementation of ExampleEditor destructor (so
 ExampleProcessor plugin will load if compiled).  Removed OS X settings from
 ExampleProcessor Makefile.

---
 Source/Plugins/ExampleProcessor/ExampleEditor.cpp | 4 ++++
 Source/Plugins/ExampleProcessor/Makefile.example  | 6 ------
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/Source/Plugins/ExampleProcessor/ExampleEditor.cpp b/Source/Plugins/ExampleProcessor/ExampleEditor.cpp
index d6038061a..2f9d152b0 100644
--- a/Source/Plugins/ExampleProcessor/ExampleEditor.cpp
+++ b/Source/Plugins/ExampleProcessor/ExampleEditor.cpp
@@ -36,6 +36,10 @@ ExampleEditor::ExampleEditor(GenericProcessor* parentNode, bool useDefaultParame
 	addAndMakeVisible(exampleButton);
 }
 
+ExampleEditor::~ExampleEditor()
+{
+}
+
 /**
 The listener methods that reacts to the button click. The same method is called for all buttons
 on the editor, so the button variable, which cointains a pointer to the button that called the method
diff --git a/Source/Plugins/ExampleProcessor/Makefile.example b/Source/Plugins/ExampleProcessor/Makefile.example
index 3174430a0..973d9274e 100644
--- a/Source/Plugins/ExampleProcessor/Makefile.example
+++ b/Source/Plugins/ExampleProcessor/Makefile.example
@@ -10,12 +10,6 @@ VPATH := $(SOURCE_DIRS)
 SRC := $(foreach sdir,$(SRC_DIR),$(wildcard $(sdir)/*.cpp))
 OBJ := $(addprefix $(OBJDIR)/,$(notdir $(SRC:.cpp=.o)))
 
-#Library paths for OSX, can be removed if no external libraries are needed
-ifeq ($(OS),Darwin)
-CXXFLAGS := $(CXXFLAGS) -I/opt/local/include 
-LDFLAGS := $(LDFLAGS) -L/opt/local/lib  
-endif
-
 #Extra macros and libraries needed by the plugin
 #CXXFLAGS := $(CXXFLAGS) -D EXAMPLE_MACRO
 #LDFLAGS := $(LDFLAGS) -lExampleLib
-- 
GitLab