Bug 258605
| Summary: | Generated IPC serializers use deprecated stream input operator | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | WebKit2 | Assignee: | Kimmo Kinnunen <kkinnunen> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Kimmo Kinnunen
Generated IPC serializers use deprecated stream input operator
Pattern is deprecated:
std::optional<T> result;
decoder >> result;
This is on the grounds of it not supporting non-default-constructible T.
This means we have to have support for:
auto result = decoder.decode<T>();
Since we need latter anyway, we having the former is redundant.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111435260>
Kimmo Kinnunen
Pull request: https://github.com/WebKit/WebKit/pull/15358
EWS
Committed 265715@main (de84aa87132c): <https://commits.webkit.org/265715@main>
Reviewed commits have been landed. Closing PR #15358 and removing active labels.