Changing from QVector to std::vector for internal temp arrays.