diff --git a/src/common/serialization/vst3/attribute-list.h b/src/common/serialization/vst3/attribute-list.h index f7cd586c..12f816de 100644 --- a/src/common/serialization/vst3/attribute-list.h +++ b/src/common/serialization/vst3/attribute-list.h @@ -61,22 +61,22 @@ class YaAttributeList : public Steinberg::Vst::IAttributeList { template void serialize(S& s) { s.ext(attrs_int, bitsery::ext::StdMap{1 << 20}, - [](S& s, AttrID& key, int64& value) { + [](S& s, std::string& key, int64& value) { s.text1b(key, 1024); s.value8b(value); }); s.ext(attrs_float, bitsery::ext::StdMap{1 << 20}, - [](S& s, AttrID& key, double& value) { + [](S& s, std::string& key, double& value) { s.text1b(key, 1024); s.value8b(value); }); s.ext(attrs_string, bitsery::ext::StdMap{1 << 20}, - [](S& s, AttrID& key, double& value) { + [](S& s, std::string& key, std::u16string& value) { s.text1b(key, 1024); s.text2b(value, 1 << 20); }); s.ext(attrs_binary, bitsery::ext::StdMap{1 << 20}, - [](S& s, AttrID& key, std::vector& value) { + [](S& s, std::string& key, std::vector& value) { s.text1b(key, 1024); s.container1b(value, 1 << 20); });