D18137: delete copy constructor and assignment operator of some public classes
Christophe Giboudeaux
noreply at phabricator.kde.org
Thu Jan 17 14:13:28 GMT 2019
cgiboudeaux added a comment.
This is causing an error when building the python bindings:
> In file included from /data/kde/build/kcoreaddons/src/lib/pybuild/PyKF5/KCoreAddons/unifiedKCoreAddons.cpp:15:
> /data/kde/build/kcoreaddons/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKdelibs4Migration.cpp:134:65: error: overload resolution selected deleted operator '='
>
> reinterpret_cast< ::Kdelibs4Migration *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::Kdelibs4Migration *>(sipSrc);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /data/kde/src/kcoreaddons/src/lib/util/kdelibs4migration.h:85:24: note: candidate function has been explicitly deleted
>
> Kdelibs4Migration &operator=(const Kdelibs4Migration &) = delete;
> ^
>
> In file included from /data/kde/build/kcoreaddons/src/lib/pybuild/PyKF5/KCoreAddons/unifiedKCoreAddons.cpp:15:
> /data/kde/build/kcoreaddons/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKdelibs4Migration.cpp:148:17: error: call to deleted constructor of '::Kdelibs4Migration'
>
> return new ::Kdelibs4Migration(reinterpret_cast<const ::Kdelibs4Migration *>(sipSrc)[sipSrcIdx]);
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D18137
To: aacid, mpyne
Cc: cgiboudeaux, mpyne, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190117/d7afe8ce/attachment.html>
More information about the Kde-frameworks-devel
mailing list