From 2e0a069c51d3f91fb5f7a2565d73fd3bda17af9e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 12 Oct 2021 15:32:41 +0200 Subject: [PATCH] WebSockets: use v7 tempo-map correctly --- libs/surfaces/websockets/transport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/websockets/transport.cc b/libs/surfaces/websockets/transport.cc index e0cd452eea..091648b508 100644 --- a/libs/surfaces/websockets/transport.cc +++ b/libs/surfaces/websockets/transport.cc @@ -27,7 +27,7 @@ using namespace Temporal; double ArdourTransport::tempo () const { - const Tempo& tempo (TempoMap::use()->metric_at (0).tempo()); + const Tempo& tempo (TempoMap::fetch()->metric_at (0).tempo()); return tempo.note_types_per_minute (); }