diff --git a/src/common/serialization/vst3/event-list.h b/src/common/serialization/vst3/event-list.h index c026b426..7f4247b3 100644 --- a/src/common/serialization/vst3/event-list.h +++ b/src/common/serialization/vst3/event-list.h @@ -85,7 +85,7 @@ struct YaNoteExpressionTextEvent { void serialize(S& s) { s.value4b(type_id); s.value4b(note_id); - s.container2b(text, 1 << 16); + s.container2b(text, std::extent_v); } }; @@ -120,7 +120,7 @@ struct YaChordEvent { s.value2b(root); s.value2b(bass_note); s.value2b(mask); - s.container2b(text, 1 << 16); + s.container2b(text, std::extent_v); } }; @@ -153,7 +153,7 @@ struct YaScaleEvent { void serialize(S& s) { s.value2b(root); s.value2b(mask); - s.container2b(text, 1 << 16); + s.container2b(text, std::extent_v); } };