make Session::should_ignore_transport_request() non-const

This commit is contained in:
Paul Davis 2020-04-24 14:20:59 -06:00
parent 75b9689f0c
commit 58304b3a7e
2 changed files with 2 additions and 2 deletions

View File

@ -1734,7 +1734,7 @@ private:
int start_midi_thread ();
bool should_ignore_transport_request (TransportRequestSource, TransportRequestType) const;
bool should_ignore_transport_request (TransportRequestSource, TransportRequestType);
void set_play_loop (bool yn, bool change_transport_state);
void unset_play_loop (bool change_transport_state = false);

View File

@ -821,7 +821,7 @@ Session::add_post_transport_work (PostTransportWork ptw)
}
bool
Session::should_ignore_transport_request (TransportRequestSource src, TransportRequestType type) const
Session::should_ignore_transport_request (TransportRequestSource src, TransportRequestType type)
{
if (config.get_external_sync()) {
if (TransportMasterManager::instance().current()->allow_request (src, type)) {