13
0

Fix MSVC compilation

This resolves a circular dependency:
libardour calls methods from libardour_cp and vice versa.
Since 9bb2f2bb libardour is also calling active() and that method
needs to be forced to use late binding. -- compare to b9bbea7174
This commit is contained in:
Robin Gareus 2019-09-06 20:35:49 +02:00
parent 5963104378
commit 33c251a623
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -50,8 +50,8 @@ class LIBCONTROLCP_API ControlProtocol : public PBD::Stateful, public PBD::Scope
virtual std::string name() const { return _name; }
virtual int set_active (bool yn);
bool active() const { return _active; }
virtual int set_active (bool yn);
virtual bool active() const { return _active; }
virtual int set_feedback (bool /*yn*/) { return 0; }
virtual bool get_feedback () const { return false; }