Commit c90f2c571e64f487683f91de2a8912356477f205

Authored by Scott Klum
1 parent 120de538

Fixed pass by reference omission

Showing 1 changed file with 1 additions and 1 deletions
openbr/openbr_plugin.h
... ... @@ -390,7 +390,7 @@ struct TemplateList : public QList<Template>
390 390 /*!
391 391 * \brief Returns a #br::TemplateList containing templates with one matrix at the specified index \em index.
392 392 */
393   - QList<TemplateList> partition(const QList<int> partitionSizes) const
  393 + QList<TemplateList> partition(const QList<int> &partitionSizes) const
394 394 {
395 395 int sum = 0;
396 396 QList<TemplateList> partitions; partitions.reserve(partitionSizes.size());
... ...