diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2014-08-21 15:36:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-24 09:56:59 +0200 |
commit | 4f98d16c66816e3097cf4b1764e2bf3d0f75ddf3 (patch) | |
tree | 864e5e73437445ad5ff8923249e5456df6e0d75a /src/qml/jsruntime | |
parent | 23776181b8e73dc7f18c3042fcc37c9f018f29c5 (diff) |
Add const & to arguments
Change-Id: I1bcf69638fee32b6e6565b8ea828c0adcff48a67
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4debugging_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4debugging_p.h b/src/qml/jsruntime/qv4debugging_p.h index cedfee7f90..46d6313b68 100644 --- a/src/qml/jsruntime/qv4debugging_p.h +++ b/src/qml/jsruntime/qv4debugging_p.h @@ -70,7 +70,7 @@ enum PauseReason { class DebuggerAgent; struct DebuggerBreakPoint { - DebuggerBreakPoint(QString fileName, int line) + DebuggerBreakPoint(const QString &fileName, int line) : fileName(fileName), lineNumber(line) {} QString fileName; |