{
/* Instantiate the plugin and return a VSTState* */
- if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) {
+ if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) {
throw failed_constructor();
}
{
_handle = other._handle;
- if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) {
+ if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) {
throw failed_constructor();
}
_plugin = _state->plugin;