diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-11-02 21:36:53 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-11-02 21:52:00 -0400 |
commit | bf2d9e7a342dbb4d06b258e9d22cc4915260914c (patch) | |
tree | ea301c6904e45a1ba9528c77d7c80b15e200e248 /libs/ardour/ardour/transport_master_manager.h | |
parent | c04fc2efe2453c15725fb43b009dfd5fc3b82b0b (diff) |
fix crash during first-run configuration of the application, caused by using an incomplete TransportMasterManager
Diffstat (limited to 'libs/ardour/ardour/transport_master_manager.h')
-rw-r--r-- | libs/ardour/ardour/transport_master_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/transport_master_manager.h b/libs/ardour/ardour/transport_master_manager.h index 46d195bf24..5ed3855eb2 100644 --- a/libs/ardour/ardour/transport_master_manager.h +++ b/libs/ardour/ardour/transport_master_manager.h @@ -38,6 +38,7 @@ class LIBARDOUR_API TransportMasterManager : public boost::noncopyable int init (); static TransportMasterManager& instance(); + static bool exists() { return _instance != 0; } typedef std::list<boost::shared_ptr<TransportMaster> > TransportMasters; |