Commit 7add206314eb0c8c0aa77c1dad24f95bc3779459
1 parent
c6305934
Use QVector rather than QList
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/core/eval.cpp
| @@ -192,7 +192,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin | @@ -192,7 +192,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin | ||
| 192 | float result = -1; | 192 | float result = -1; |
| 193 | 193 | ||
| 194 | // Make comparisons | 194 | // Make comparisons |
| 195 | - QList<Comparison> comparisons; comparisons.reserve(simmat.rows*simmat.cols); | 195 | + QVector<Comparison> comparisons; comparisons.reserve(simmat.rows*simmat.cols); |
| 196 | 196 | ||
| 197 | // Flags rows as being mated or non-mated searches | 197 | // Flags rows as being mated or non-mated searches |
| 198 | // Positive value: mated search, negative value: non-mated search | 198 | // Positive value: mated search, negative value: non-mated search |