Use a getter for a proxy object's instance ID

We also need this to get some random other object's instance ID, so
might as well use it everywhere.
This commit is contained in:
Robbert van der Helm
2020-12-18 14:20:28 +01:00
parent cfa4849467
commit 74f21f12a5
3 changed files with 39 additions and 43 deletions
@@ -39,8 +39,6 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
tresult PLUGIN_API queryInterface(const Steinberg::TUID _iid,
void** obj) override;
inline size_t instance_id() { return arguments.instance_id; }
// From `IAudioProcessor`
tresult PLUGIN_API
setBusArrangements(Steinberg::Vst::SpeakerArrangement* inputs,