Do not bind pure virtual functions, use indirection
This fixes Windows/MSVC builds, where linking fails due to binding a pure virtual function.
This commit is contained in:
parent
734a31accf
commit
0edd0c2abc
@ -212,6 +212,8 @@ private:
|
||||
void psl_subscribe_to (boost::shared_ptr<ARDOUR::AutomationControl>, FIDString);
|
||||
void psl_stripable_property_changed (PBD::PropertyChange const&);
|
||||
|
||||
void foward_signal (Presonus::IContextInfoHandler2*, FIDString) const;
|
||||
|
||||
PBD::ScopedConnectionList _strip_connections;
|
||||
PBD::ScopedConnectionList _ac_connection_list;
|
||||
std::set<Evoral::Parameter> _ac_subscriptions;
|
||||
|
@ -2692,7 +2692,14 @@ VST3PI::psl_subscribe_to (boost::shared_ptr<ARDOUR::AutomationControl> ac, FIDSt
|
||||
return;
|
||||
}
|
||||
|
||||
ac->Changed.connect_same_thread (_ac_connection_list, boost::bind (&IContextInfoHandler2::notifyContextInfoChange, nfo2.get(), id));
|
||||
ac->Changed.connect_same_thread (_ac_connection_list, boost::bind (&VST3PI::foward_signal, this, nfo2.get(), id));
|
||||
}
|
||||
|
||||
void
|
||||
VST3PI::foward_signal (IContextInfoHandler2* handler, FIDString id) const
|
||||
{
|
||||
assert (handler);
|
||||
handler->notifyContextInfoChange (id);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user