mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Remove unnecessary bitsery object lambdas
This commit is contained in:
@@ -126,8 +126,7 @@ struct GetResponse {
|
|||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
void serialize(S& s) {
|
void serialize(S& s) {
|
||||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -190,8 +190,7 @@ struct GetResizeHintsResponse {
|
|||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
void serialize(S& s) {
|
void serialize(S& s) {
|
||||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -93,8 +93,7 @@ struct GetResponse {
|
|||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
void serialize(S& s) {
|
void serialize(S& s) {
|
||||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -101,8 +101,7 @@ struct GetInfoResponse {
|
|||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
void serialize(S& s) {
|
void serialize(S& s) {
|
||||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,7 @@ struct SaveResponse {
|
|||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
void serialize(S& s) {
|
void serialize(S& s) {
|
||||||
s.ext(result, bitsery::ext::InPlaceOptional(),
|
s.ext(result, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -369,8 +369,7 @@ struct Vst2EventResult {
|
|||||||
s.value8b(return_value);
|
s.value8b(return_value);
|
||||||
|
|
||||||
s.object(payload);
|
s.object(payload);
|
||||||
s.ext(value_payload, bitsery::ext::InPlaceOptional(),
|
s.ext(value_payload, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -479,8 +478,7 @@ struct Vst2Event {
|
|||||||
s.value4b(option);
|
s.value4b(option);
|
||||||
|
|
||||||
s.object(payload);
|
s.object(payload);
|
||||||
s.ext(value_payload, bitsery::ext::InPlaceOptional(),
|
s.ext(value_payload, bitsery::ext::InPlaceOptional());
|
||||||
[](S& s, auto& v) { s.object(v); });
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user