[Gammaray-commits] [KDAB/GammaRay] 4d654d: Make compile when QT_IVIMEDIA_LIB not defined

Kevin Funk kevin.funk at kdab.com
Thu Apr 27 16:32:09 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/KDAB/GammaRay
  Commit: 4d654de9f21e380fad2eb8598f444a7f3107ec93
      https://github.com/KDAB/GammaRay/commit/4d654de9f21e380fad2eb8598f444a7f3107ec93
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M tests/qtivipropertymodeltest.cpp

  Log Message:
  -----------
  Make compile when QT_IVIMEDIA_LIB not defined


  Commit: 7c5691bc87604320e928778e132f4d60f27497f2
      https://github.com/KDAB/GammaRay/commit/7c5691bc87604320e928778e132f4d60f27497f2
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M core/remote/remotemodelserver.cpp
    M plugins/qtivi/qtivipropertymodel.cpp

  Log Message:
  -----------
  Fix -Wpessmizing-move warnings

std::move on a rvalue does not make sense.

Issue:
```
gammaray/core/remote/remotemodelserver.cpp:210:45: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
                    << filterItemData(std::move(m_model->itemData(qmIndex)))
                                      ^
```


Compare: https://github.com/KDAB/GammaRay/compare/7d1824c61673...7c5691bc8760


More information about the Gammaray-commits mailing list