From 6b9682b8a33ee0801bbdbef6d9d714ada162e215 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 12 Sep 2023 20:29:35 -0400 Subject: [PATCH] cwSvgMidi.cpp : Changes to support use of perf_score::event_t --- cwSvgMidi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cwSvgMidi.cpp b/cwSvgMidi.cpp index f6ac60c..ee6d2d8 100644 --- a/cwSvgMidi.cpp +++ b/cwSvgMidi.cpp @@ -290,17 +290,17 @@ namespace cw rc_t _load_from_piano_score( midi_state::handle_t msH, const char* piano_score_fname ) { rc_t rc = kOkRC; - score::handle_t scH; + perf_score::handle_t scH; unsigned n = 0; - if((rc = score::create( scH, piano_score_fname )) != kOkRC ) + if((rc = perf_score::create( scH, piano_score_fname )) != kOkRC ) { rc = cwLogError(rc,"The piano score load failed."); goto errLabel; } else { - const score::event_t* e = base_event(scH); + const perf_score::event_t* e = base_event(scH); for(; e!=nullptr; e=e->link) {