Remove unnecessary bitsery object lambdas

This commit is contained in:
Robbert van der Helm
2022-10-09 15:21:54 +02:00
parent 79c9a3f5f6
commit 0b3172d2d0
6 changed files with 7 additions and 14 deletions
+2 -4
View File
@@ -369,8 +369,7 @@ struct Vst2EventResult {
s.value8b(return_value);
s.object(payload);
s.ext(value_payload, bitsery::ext::InPlaceOptional(),
[](S& s, auto& v) { s.object(v); });
s.ext(value_payload, bitsery::ext::InPlaceOptional());
}
};
@@ -479,8 +478,7 @@ struct Vst2Event {
s.value4b(option);
s.object(payload);
s.ext(value_payload, bitsery::ext::InPlaceOptional(),
[](S& s, auto& v) { s.object(v); });
s.ext(value_payload, bitsery::ext::InPlaceOptional());
}
};