From 483ecd16de6801aed536eca64ed51a6a4c669e39 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 15:48:53 +0200 Subject: Don't access static methods through instances --- src/client/PluginUI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index 9c759696..1074be3e 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -81,9 +81,9 @@ lv2_ui_write(SuilController controller, } else if (format == uris.atom_eventTransfer.urid()) { const auto* atom = static_cast(buffer); - Atom val = ui->world().forge().alloc(atom->size, - atom->type, - LV2_ATOM_BODY_CONST(atom)); + Atom val = Forge::alloc(atom->size, + atom->type, + LV2_ATOM_BODY_CONST(atom)); ui->signal_property_changed()(port->uri(), uris.ingen_activity, val, -- cgit v1.2.1