forked from qt-creator/qt-creator
QmlProfiler: Pass const vector by reference
Change-Id: I3af38eeeec3c59d52543f28d5e5fa1f4ca604fcd Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
86319398b6
commit
03c1d6ee87
@@ -170,7 +170,7 @@ protected:
|
||||
}
|
||||
|
||||
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 toIndex = container.count() - 1;
|
||||
|
||||
Reference in New Issue
Block a user