D20714: akonadi: fix some clazy warnings

David Faure noreply at phabricator.kde.org
Sun Apr 21 17:20:28 BST 2019


dfaure created this revision.
dfaure added a reviewer: dvratil.
Herald added a project: KDE PIM.
dfaure requested review of this revision.

REVISION SUMMARY
  relation.h:30:1: warning: Move qHash(Akonadi::Relation) into Akonadi namespace for ADL lookup [-Wclazy-qhash-namespace]
  itemcreatehandlertest.cpp:874:30: warning: Don't call QVector::operator[]() on temporary [-Wclazy-detaching-temporary]
  tagmodeltest.cpp:266:5: warning: unused QList<QVariant> (removedTagList)

TEST PLAN
  builds, ctest passes

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D20714

AFFECTED FILES
  autotests/libs/tagmodeltest.cpp
  autotests/server/itemcreatehandlertest.cpp
  src/core/relation.h
  src/server/handler/itemcreatehandler.cpp

To: dfaure, dvratil
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190421/12bbf525/attachment.html>


More information about the kde-pim mailing list