mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-10 22:32:10 +02:00
Use the in new place optional extension
This commit is contained in:
@@ -62,7 +62,7 @@ class Vst3HostContextProxy : public YaHostApplication,
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(owner_instance_id, bitsery::ext::StdOptional{},
|
||||
s.ext(owner_instance_id, bitsery::ext::InPlaceOptional{},
|
||||
[](S& s, native_size_t& instance_id) {
|
||||
s.value8b(instance_id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user