summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-07 20:36:20 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-07 20:36:20 -0600
commita13ef36b3b6212d1ae0c563c7a60a86152dbb48f (patch)
tree3db38bdec34b1868962988a6ba594b5508a324b1 /libs/ardour/ardour
parentede8b9995a9336cc6653f33c7c82bf75389d6339 (diff)
PortEngineSharedImpl callbacks should not be pure virtual
A port can callback from its destructor, which if occuring inside the backend destructor would reach an already partially destructed backend.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/port_engine_shared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/port_engine_shared.h b/libs/ardour/ardour/port_engine_shared.h
index 6d1951881e..389068207a 100644
--- a/libs/ardour/ardour/port_engine_shared.h
+++ b/libs/ardour/ardour/port_engine_shared.h
@@ -154,8 +154,8 @@ public:
bool physically_connected (PortEngine::PortHandle, bool process_callback_safe);
int get_connections (PortEngine::PortHandle, std::vector<std::string>&, bool process_callback_safe);
- virtual void port_connect_callback (const std::string& a, const std::string& b, bool conn) = 0;
- virtual void port_connect_add_remove_callback () = 0;
+ virtual void port_connect_callback (const std::string& a, const std::string& b, bool conn) {}
+ virtual void port_connect_add_remove_callback () {}
protected:
std::string _instance_name;