QmlProfiler: Pass const vector by reference

Change-Id: I3af38eeeec3c59d52543f28d5e5fa1f4ca604fcd
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 23:35:53 +03:00
committed by Orgad Shaneh
parent 86319398b6
commit 03c1d6ee87

View File

@@ -170,7 +170,7 @@ protected:
} }
template<typename RangeDelimiter> template<typename RangeDelimiter>
static inline int lowerBound(const QVector<RangeDelimiter> container, qint64 time) static inline int lowerBound(const QVector<RangeDelimiter> &container, qint64 time)
{ {
int fromIndex = 0; int fromIndex = 0;
int toIndex = container.count() - 1; int toIndex = container.count() - 1;