mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Remove unnecessary bitsery object lambdas
This commit is contained in:
@@ -126,8 +126,7 @@ struct GetResponse {
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
||||
[](S& s, auto& v) { s.object(v); });
|
||||
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -190,8 +190,7 @@ struct GetResizeHintsResponse {
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
||||
[](S& s, auto& v) { s.object(v); });
|
||||
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -93,8 +93,7 @@ struct GetResponse {
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
||||
[](S& s, auto& v) { s.object(v); });
|
||||
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -101,8 +101,7 @@ struct GetInfoResponse {
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
||||
[](S& s, auto& v) { s.object(v); });
|
||||
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -37,8 +37,7 @@ struct SaveResponse {
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
||||
[](S& s, auto& v) { s.object(v); });
|
||||
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user