WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
263857
MediaTime isn't usable in an Expected
https://bugs.webkit.org/show_bug.cgi?id=263857
Summary
MediaTime isn't usable in an Expected
Jean-Yves Avenard [:jya]
Reported
2023-10-29 15:22:36 PDT
Consider the following: ``` using Test = Expected<MediaTime, int>; Test test1; Test test2; test1 = WTFMove(test2); ``` This will fail to compile with: `Functional-style cast from '__libcpp_remove_reference_t<expected<MediaTime, int> &>' (aka 'std::experimental::expected<WTF::MediaTime, int>') to 'type' (aka 'expected<WTF::MediaTime, int>') uses deleted function`
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-29 15:29:59 PDT
<
rdar://problem/117659224
>
Jean-Yves Avenard [:jya]
Comment 2
2023-10-29 17:05:07 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19698
EWS
Comment 3
2023-10-30 00:11:25 PDT
Committed
269918@main
(c7327fa6d918): <
https://commits.webkit.org/269918@main
> Reviewed commits have been landed. Closing PR #19698 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug