kwin/kcmkwin
Vlad Zagorodniy d0865f2163 Fix -Wredundant-move
Summary:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp: In member function ‘virtual std::unique_ptr<KDecoration2::DecoratedClientPrivate> KDecoration2::Preview::PreviewBridge::createClient(KDecoration2::DecoratedClient*, KDecoration2::Decoration*)’:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:63:21: warning: redundant move in return statement [-Wredundant-move]
       63 |     return std::move(ptr);
          |            ~~~~~~~~~^~~~~
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:63:21: note: remove ‘std::move’ call
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp: In member function ‘virtual std::unique_ptr<KDecoration2::DecorationSettingsPrivate> KDecoration2::Preview::PreviewBridge::settings(KDecoration2::DecorationSettings*)’:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:81:21: warning: redundant move in return statement [-Wredundant-move]
       81 |     return std::move(ptr);
          |            ~~~~~~~~~^~~~~

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D22357
2019-07-10 00:31:28 +03:00
..
common Port away from deprecated qSort function 2019-07-10 00:00:29 +03:00
kwincompositing Port away from deprecated qSort function 2019-07-10 00:00:29 +03:00
kwindecoration Fix -Wredundant-move 2019-07-10 00:31:28 +03:00
kwindesktop Hide some of kwin kcm on mobile 2019-07-09 12:30:59 +05:30
kwineffects Hide some of kwin kcm on mobile 2019-07-09 12:30:59 +05:30
kwinoptions Port away from deprecated headers 2019-07-09 23:59:07 +03:00
kwinrules Port away from deprecated headers 2019-07-09 23:59:07 +03:00
kwinscreenedges Port away from deprecated headers 2019-07-09 23:59:07 +03:00
kwinscripts Move knsrc files to the new location 2019-05-17 18:56:27 +02:00
kwintabbox Move knsrc files to the new location 2019-05-17 18:56:27 +02:00
CMakeLists.txt [kcmkwin] Split out Desktop Effects KCM 2019-03-18 13:08:32 +02:00