summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 15:48:53 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit483ecd16de6801aed536eca64ed51a6a4c669e39 (patch)
treefbb67f71d7a9529d3f9896ab8fdb43816f75d4e5 /src/client
parent9bc9ce00dd4d64a85700def449d7204c83bb79ad (diff)
downloadingen-483ecd16de6801aed536eca64ed51a6a4c669e39.tar.gz
ingen-483ecd16de6801aed536eca64ed51a6a4c669e39.tar.bz2
ingen-483ecd16de6801aed536eca64ed51a6a4c669e39.zip
Don't access static methods through instances
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginUI.cpp6
1 files changed, 3 insertions, 3 deletions
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<const LV2_Atom*>(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,