Optimize: do not call potentially detaching QVector::operator()

Authored by mwolff on May 23 2017, 3:46 PM.

Description

Optimize: do not call potentially detaching QVector::operator()

The QVector m_data is mutable, thus accessing operator() from a
const member function will still lead to the call to detach. This
showed up in a perf profile on heaptrack for a larger stacked plot.

Details

Committed
mwolffMay 23 2017, 3:46 PM
Parents
R478:6059dff58b20: Update KDiagramAddQCH.cmake to latest state of ECMAddQCH.cmake
Branches
Unknown
Tags
Unknown