Skip to content

Commit 6ba6f6a

Browse files
committed
VST: replace MorphPlanPtr with plain pointer
Signed-off-by: Stefan Westerfeld <[email protected]>
1 parent 6e4eebf commit 6ba6f6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vst/smvstui.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using namespace SpectMorph;
1313
using std::string;
1414
using std::vector;
1515

16-
VstUI::VstUI (MorphPlanPtr plan, VstPlugin *plugin) :
16+
VstUI::VstUI (MorphPlan *plan, VstPlugin *plugin) :
1717
morph_plan (plan),
1818
plugin (plugin)
1919
{

vst/smvstui.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ class VstUI : public SignalReceiver
1919
ERect rectangle;
2020
MorphPlanWindow *widget = nullptr;
2121
EventLoop *event_loop = nullptr;
22-
MorphPlanPtr morph_plan;
22+
MorphPlan *morph_plan = nullptr;
2323
VstPlugin *plugin = nullptr;
2424

2525
public:
26-
VstUI (MorphPlanPtr plan, VstPlugin *plugin);
26+
VstUI (MorphPlan *plan, VstPlugin *plugin);
2727

2828
bool open (PuglNativeWindow win_id);
2929
bool getRect (ERect** rect);

0 commit comments

Comments
 (0)