From 4f98d16c66816e3097cf4b1764e2bf3d0f75ddf3 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 21 Aug 2014 15:36:30 +0200 Subject: Add const & to arguments Change-Id: I1bcf69638fee32b6e6565b8ea828c0adcff48a67 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4debugging_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime') 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; -- cgit v1.2.3