From b95c29770c2317c03776471da6cc8bf3e0df06a1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 Aug 2025 21:41:10 -0600 Subject: [PATCH] initialize scope owner in default TempoMap constructor This constructor should not really exist, but it does. --- libs/temporal/temporal/tempo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/temporal/temporal/tempo.h b/libs/temporal/temporal/tempo.h index 385bb431ff..296f788faa 100644 --- a/libs/temporal/temporal/tempo.h +++ b/libs/temporal/temporal/tempo.h @@ -771,7 +771,7 @@ class /*LIBTEMPORAL_API*/ TempoMap : public PBD::StatefulDestructible /* and now on with the rest of the show ... */ public: - LIBTEMPORAL_API TempoMap () {} + LIBTEMPORAL_API TempoMap () : _scope_owner (nullptr) {} LIBTEMPORAL_API TempoMap (Tempo const& initial_tempo, Meter const& initial_meter); LIBTEMPORAL_API TempoMap (TempoMap const&); LIBTEMPORAL_API TempoMap (XMLNode const&, int version);