Add missing explicit
-
@mlaurent Unfortunately this now breaks the downstream build of
messagelib
:/builder/kde/src/messagelib/templateparser/src/templateparserjob.cpp: In member function 'QString TemplateParser::TemplateParserJob::getHtmlSignature() const': /builder/kde/src/messagelib/templateparser/src/templateparserjob.cpp:1110:55: error: no match for 'operator=' (operand types are 'KIdentityManagement::Signature' and 'QString') 1110 | signature = signature.rawText().toHtmlEscaped(); | ^ In file included from /builder/kde/usr/include/KF5/KIdentityManagement/kidentitymanagement/identity.h:12, from /builder/kde/usr/include/KF5/KIdentityManagement/KIdentityManagement/Identity:1, from /builder/kde/src/messagelib/templateparser/src/templateparserjob.cpp:24: /builder/kde/usr/include/KF5/KIdentityManagement/kidentitymanagement/signature.h:103:16: note: candidate: 'KIdentityManagement::Signature& KIdentityManagement::Signature::operator=(const KIdentityManagement::Signature&)' 103 | Signature &operator=(const Signature &that); | ^~~~~~~~ /builder/kde/usr/include/KF5/KIdentityManagement/kidentitymanagement/signature.h:103:43: note: no known conversion for argument 1 from 'QString' to 'const KIdentityManagement::Signature&' 103 | Signature &operator=(const Signature &that); | ~~~~~~~~~~~~~~~~~^~~~
Would you prefer to revert your commit, or should I fix
messagelib
?
Please register or sign in to comment