kwin/kcmkwin/kwindecoration/declarative-plugin
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
..
buttonsmodel.cpp Update URLs to use https 2019-03-25 19:26:23 +01:00
buttonsmodel.h [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
CMakeLists.txt
plugin.cpp Port away from deprecated headers 2019-07-09 23:59:07 +03:00
plugin.h
previewbridge.cpp Fix -Wredundant-move 2019-07-10 00:31:28 +03:00
previewbridge.h
previewbutton.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewbutton.h [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewclient.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewclient.h
previewitem.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewitem.h
previewsettings.cpp
previewsettings.h
qmldir