D22361: Fix -Wdeprecated-copy
Vlad Zagorodniy
noreply at phabricator.kde.org
Tue Jul 9 23:49:25 BST 2019
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
/home/vlad/Workspace/KDE/src/kde/workspace/kwin/scripting/scriptedeffect.cpp:408:57: warning: implicitly-declared ‘constexpr KWin::FPx2& KWin::FPx2::operator=(const KWin::FPx2&)’ is deprecated [-Wdeprecated-copy]
408 | fpx2 = FPx2(value1.toNumber(), value2.toNumber());
| ^
In file included from /home/vlad/Workspace/KDE/src/kde/workspace/kwin/scripting/scriptedeffect.h:24,
from /home/vlad/Workspace/KDE/src/kde/workspace/kwin/scripting/scriptedeffect.cpp:21:
/home/vlad/Workspace/KDE/src/kde/workspace/kwin/libkwineffects/kwinanimationeffect.h:39:5: note: because ‘KWin::FPx2’ has user-provided ‘KWin::FPx2::FPx2(const KWin::FPx2&)’
39 | FPx2(const FPx2 &other) { f[0] = other.f[0]; f[1] = other.f[1]; valid = other.valid; }
| ^~~~
REPOSITORY
R108 KWin
BRANCH
port-from-qregion-rects
REVISION DETAIL
https://phabricator.kde.org/D22361
AFFECTED FILES
libkwineffects/kwinanimationeffect.h
To: zzag, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190709/7aeb35ff/attachment-0001.html>
More information about the kwin
mailing list