Bug 231717

Summary: Compilation error: error: definition of implicit copy assignment operator in AppHighlightRangeData.h
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: New BugsAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: thorton, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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].