Bug 231717 - Compilation error: error: definition of implicit copy assignment operator in AppHighlightRangeData.h
Summary: Compilation error: error: definition of implicit copy assignment operator in ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-13 20:37 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-10-14 01:22 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.69 KB, patch)
2021-10-13 20:53 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2021-10-13 20:37:26 PDT
In file included from ./Modules/highlight/AppHighlightRangeData.cpp:27:
./Modules/highlight/AppHighlightRangeData.h:80:5: error: definition of implicit copy assignment operator for 'AppHighlightRangeData' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
    AppHighlightRangeData(const AppHighlightRangeData&) = default;

./Modules/highlight/AppHighlightRangeData.cpp:51:13: note: in instantiation of function template specialization 'WTF::Persistence::Decoder::operator>><WebCore::AppHighlightRangeData, nullptr>' requested here
    decoder >> data;
Comment 1 Radar WebKit Bug Importer 2021-10-13 20:37:43 PDT
<rdar://problem/84230745>
Comment 2 Jean-Yves Avenard [:jya] 2021-10-13 20:53:19 PDT
Created attachment 441181 [details]
Patch
Comment 3 EWS 2021-10-13 22:14:39 PDT
Committed r284147 (242967@main): <https://commits.webkit.org/242967@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441181 [details].